mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
548aad4ff1
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
24 lines
571 B
JavaScript
24 lines
571 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 = {
|
|
hasTVPreferredFocus: PropTypes.bool,
|
|
tvParallaxShiftDistanceX: PropTypes.number,
|
|
tvParallaxShiftDistanceY: PropTypes.number,
|
|
tvParallaxTiltAngle: PropTypes.number,
|
|
tvParallaxMagnification: PropTypes.number,
|
|
};
|
|
|
|
module.exports = DeprecatedTVViewPropTypes;
|