Package Exports
- deprecated-react-native-prop-types
- deprecated-react-native-prop-types/DeprecatedTextPropTypes
- deprecated-react-native-prop-types/DeprecatedTextPropTypes.js
- deprecated-react-native-prop-types/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (deprecated-react-native-prop-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
deprecated-react-native-prop-types
This package contains deprecated prop-types
from React Native.
Image.propTypes
Before
import {Image} from 'react-native';
doSomething(Image.propTypes);
After
import {ImagePropTypes} from 'deprecated-react-native-prop-types';
doSomething(ImagePropTypes);
Text.propTypes
Before
import {Text} from 'react-native';
doSomething(Text.propTypes);
After
import {TextPropTypes} from 'deprecated-react-native-prop-types';
doSomething(TextPropTypes);
TextInput.propTypes
Before
import {TextInput} from 'react-native';
doSomething(TextInput.propTypes);
After
import {TextInputPropTypes} from 'deprecated-react-native-prop-types';
doSomething(TextInputPropTypes);
ColorPropType
Before
import {ColorPropType} from 'react-native';
doSomething(ColorPropType);
After
import {ColorPropType} from 'deprecated-react-native-prop-types';
doSomething(ColorPropType);
EdgeInsetsPropType
Before
import {EdgeInsetsPropType} from 'react-native';
doSomething(EdgeInsetsPropType);
After
import {EdgeInsetsPropType} from 'deprecated-react-native-prop-types';
doSomething(EdgeInsetsPropType);
PointPropType
Before
import {PointPropType} from 'react-native';
doSomething(PointPropType);
After
import {PointPropType} from 'deprecated-react-native-prop-types';
doSomething(PointPropType);
ViewPropTypes
Before
import {ViewPropTypes} from 'react-native';
doSomething(ViewPropTypes);
After
import {ViewPropTypes} from 'deprecated-react-native-prop-types';
doSomething(ViewPropTypes);