From 54ea63d9daeae9e6a75131436b381b3fa6819933 Mon Sep 17 00:00:00 2001 From: Anatoly Bubenkov Date: Mon, 22 Aug 2022 15:08:27 +0200 Subject: [PATCH] Use deprected prop types for text --- lib/react-native-multi-select.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/react-native-multi-select.js b/lib/react-native-multi-select.js index ecae4a0..f509229 100644 --- a/lib/react-native-multi-select.js +++ b/lib/react-native-multi-select.js @@ -8,7 +8,7 @@ import { FlatList, UIManager } from 'react-native'; -import {ViewPropTypes} from 'deprecated-react-native-prop-types'; +import {ViewPropTypes, TextPropTypes} from 'deprecated-react-native-prop-types'; import PropTypes from 'prop-types'; import reject from 'lodash/reject'; import find from 'lodash/find'; @@ -62,9 +62,9 @@ export default class MultiSelect extends Component { styleMainWrapper: ViewPropTypes.style, styleRowList: ViewPropTypes.style, styleSelectorContainer: ViewPropTypes.style, - styleTextDropdown: Text.propTypes.style, - styleTextDropdownSelected: Text.propTypes.style, - styleTextTag: Text.propTypes.style, + styleTextDropdown: TextPropTypes.style, + styleTextDropdownSelected: TextPropTypes.style, + styleTextTag: TextPropTypes.style, styleIndicator: ViewPropTypes.style, altFontFamily: PropTypes.string, hideSubmitButton: PropTypes.bool,