Skip to content

Commit

Permalink
fixed proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
itinance committed Dec 27, 2016
1 parent f0d08bf commit 9267a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ let __iconSet = null;

Ikon.propTypes = {
name: PropTypes.string.isRequired,
style: PropTypes.object,
style: PropTypes.oneOfType([PropTypes.object, PropTypes.number]),
resizeMode: PropTypes.string,
autoScale: PropTypes.bool,
}
Expand Down

0 comments on commit 9267a84

Please sign in to comment.