Skip to content

Commit 681b155

Browse files
Merge pull request #205 from quriobot/use-text-deprecated-prop-types
Use deprected prop types for text
2 parents cc9ad6a + 54ea63d commit 681b155

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/react-native-multi-select.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
FlatList,
99
UIManager
1010
} from 'react-native';
11-
import {ViewPropTypes} from 'deprecated-react-native-prop-types';
11+
import {ViewPropTypes, TextPropTypes} from 'deprecated-react-native-prop-types';
1212
import PropTypes from 'prop-types';
1313
import reject from 'lodash/reject';
1414
import find from 'lodash/find';
@@ -62,9 +62,9 @@ export default class MultiSelect extends Component {
6262
styleMainWrapper: ViewPropTypes.style,
6363
styleRowList: ViewPropTypes.style,
6464
styleSelectorContainer: ViewPropTypes.style,
65-
styleTextDropdown: Text.propTypes.style,
66-
styleTextDropdownSelected: Text.propTypes.style,
67-
styleTextTag: Text.propTypes.style,
65+
styleTextDropdown: TextPropTypes.style,
66+
styleTextDropdownSelected: TextPropTypes.style,
67+
styleTextTag: TextPropTypes.style,
6868
styleIndicator: ViewPropTypes.style,
6969
altFontFamily: PropTypes.string,
7070
hideSubmitButton: PropTypes.bool,

0 commit comments

Comments
 (0)