Files
react-native-web/src/propTypes/BaseComponentPropTypes.js
Nicolas Gallagher 02cfbf8987 Add @providesModule annotations and update copyright notices
'providesModule' is necessary for haste support
2017-06-18 12:59:40 -07:00

24 lines
681 B
JavaScript

/**
* Copyright (c) 2015-present, Nicolas Gallagher.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import { array, bool, number, object, oneOf, oneOfType, string } from 'prop-types';
const BaseComponentPropTypes = {
accessibilityLabel: string,
accessibilityLiveRegion: oneOf(['assertive', 'none', 'polite']),
accessibilityRole: string,
accessible: bool,
importantForAccessibility: oneOf(['auto', 'no', 'no-hide-descendants', 'yes']),
style: oneOfType([array, number, object]),
testID: string
};
export default BaseComponentPropTypes;