add touchableProps and responderProps into propTypes

This commit is contained in:
Horcrux
2016-06-09 23:35:08 +08:00
parent 67b8b0c96f
commit dba1fb2801
6 changed files with 10 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ class Polyline extends Component{
static displayName = 'Polyline';
static propTypes = {
...pathProps,
points: PropTypes.string
points: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
};
render() {