mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 14:18:23 +00:00
Summary: Related to #21342 - Split TVViewPropTypes - PlatformViewPropTypes (dependencies) flow types and old prop-type definitions - ViewStylePropTypes (dependencies) rm prop-type Flow tests succeed [GENERAL] [ENHANCEMENT] [TVViewPropTypes.js] - rm prop-types [GENERAL] [ENHANCEMENT] [PlatformViewPropTypes.android.js] - replace prop-types by Flow [GENERAL] [ENHANCEMENT] [PlatformViewPropTypes.ios.js] - replace prop-types by Flow [GENERAL] [ENHANCEMENT] [DeprecatedTVViewPropTypes.js] - old prop-types Pull Request resolved: https://github.com/facebook/react-native/pull/21372 Differential Revision: D10095528 Pulled By: TheSavior fbshipit-source-id: 4fc52ab194f680f95aabefedcbf119d6897672b7
26 lines
647 B
JavaScript
26 lines
647 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const PropTypes = require('prop-types');
|
|
|
|
const DeprecatedTVViewPropTypes = {
|
|
isTVSelectable: PropTypes.bool,
|
|
hasTVPreferredFocus: PropTypes.bool,
|
|
tvParallaxProperties: PropTypes.object,
|
|
tvParallaxShiftDistanceX: PropTypes.number,
|
|
tvParallaxShiftDistanceY: PropTypes.number,
|
|
tvParallaxTiltAngle: PropTypes.number,
|
|
tvParallaxMagnification: PropTypes.number,
|
|
};
|
|
|
|
module.exports = DeprecatedTVViewPropTypes;
|