react-prop-types-element-of-type
v2.2.0 React.js React ReactElement propTypes elementOfType componentOfType
react-prop-types-element-of-type
Check if given React element is created by certain Component type
Usage
react-prop-types-element-of-type
requires React 0.14
npm install --save react-prop-types-element-of-type
See test cases for usage.
Development
First, clone the project.
git clone ...
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
npm i react-prop-types-element-of-type
Metadata
- MIT
- Whatever
- tomchentw
- released 5/30/2016