|
1 | 1 | import React from "react"; |
2 | 2 | import PropTypes from "prop-types"; |
3 | | -import { View, TextInput, ViewPropTypes } from "react-native"; |
| 3 | +import { View, TextInput } from "react-native"; |
4 | 4 |
|
5 | 5 | import Tag from "./Tag"; |
6 | 6 | import styles from "./styles"; |
@@ -147,12 +147,12 @@ Tags.propTypes = { |
147 | 147 | readonly: PropTypes.bool, |
148 | 148 | maxNumberOfTags: PropTypes.number, |
149 | 149 | deleteOnTagPress: PropTypes.bool, |
150 | | - containerStyle: ViewPropTypes.style, |
151 | | - style: ViewPropTypes.style, |
152 | | - inputContainerStyle: ViewPropTypes.style, |
153 | | - inputStyle: ViewPropTypes.style, |
154 | | - tagContainerStyle: ViewPropTypes.style, |
155 | | - tagTextStyle: ViewPropTypes.style |
| 150 | + containerStyle: PropTypes.any, |
| 151 | + style: PropTypes.any, |
| 152 | + inputContainerStyle: PropTypes.any, |
| 153 | + inputStyle: PropTypes.any, |
| 154 | + tagContainerStyle: PropTypes.any, |
| 155 | + tagTextStyle: PropTypes.any |
156 | 156 | }; |
157 | 157 |
|
158 | 158 | export { Tag }; |
|
0 commit comments