brigand / brigand/react-style-proptype
Support for arrays
Open
- Dominant language
- JavaScript
- Stars
- 59
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice if module will support also arrays of styles e.g. [ myStyle, {width: 345}] which are pretty usual imho and are interpreted as a single style afterwards.
Currently, I'm using following format:
style: React.PropTypes.oneOfType([
React.PropTypes.arrayOf(stylePropType),
stylePropType
]).isRequired
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.