mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RN: Delete Apple TV Props
Summary: With tvOS (Apple TV) now residing in a separately maintained fork, this removes the residual props from React Native. This only includes the JavaScript changes. The Objective-C changes will come later. Specifically, the following props have been removed: - `isTVSelectable` - `tvParallaxProperties` - `tvParallaxShiftDistanceX` - `tvParallaxShiftDistanceY` - `tvParallaxTiltAngle` - `tvParallaxMagnification` Note that `hasTVPreferredFocus` is still being used by Android TV, so it remains. Changelog: [Removed] Apple TV View Props Reviewed By: TheSavior Differential Revision: D18266278 fbshipit-source-id: 9d1448bf2f434a74e6eb23c70d3a37971e406768
This commit is contained in:
committed by
Facebook Github Bot
parent
5a4d68feb5
commit
548aad4ff1
@@ -13,7 +13,6 @@
|
||||
const DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');
|
||||
const DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');
|
||||
const DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');
|
||||
const PlatformViewPropTypes = require('../Components/View/PlatformViewPropTypes');
|
||||
const PropTypes = require('prop-types');
|
||||
|
||||
const {DeprecatedAccessibilityRoles} = require('./DeprecatedViewAccessibility');
|
||||
@@ -406,9 +405,4 @@ module.exports = {
|
||||
* See http://facebook.github.io/react-native/docs/view.html#needsoffscreenalphacompositing
|
||||
*/
|
||||
needsOffscreenAlphaCompositing: PropTypes.bool,
|
||||
|
||||
/**
|
||||
* Any additional platform-specific view prop types, or prop type overrides.
|
||||
*/
|
||||
...PlatformViewPropTypes,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user