react-prop-types-element-of-type

Check if given React element is created by certain Component type

Usage no npm install needed!

<script type="module">
  import reactPropTypesElementOfType from 'https://cdn.skypack.dev/react-prop-types-element-of-type';
</script>

README

react-prop-types-element-of-type

Check if given React element is created by certain Component type

Version Travis CI Quality Coverage Dependencies Gitter

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

devDependency Status

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request