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

Commit 846185a

Browse files
authored
Merge pull request #23 from peterp/pp-fix-style-prop-types
Fix style prop types
2 parents 0de38e2 + 9bfa91f commit 846185a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
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 };

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-tags",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "Tag input component for React Native",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)