Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 644566f

Browse files
committed
Just use any proptypes.
1 parent 0de38e2 commit 644566f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Tags/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import PropTypes from "prop-types";
3-
import { View, TextInput, ViewPropTypes } from "react-native";
3+
import { View, TextInput } from "react-native";
44

55
import Tag from "./Tag";
66
import styles from "./styles";
@@ -147,12 +147,12 @@ Tags.propTypes = {
147147
readonly: PropTypes.bool,
148148
maxNumberOfTags: PropTypes.number,
149149
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
156156
};
157157

158158
export { Tag };

0 commit comments

Comments
 (0)