# react-prop-types-element-of-type

> Check if given React element is created by certain Component type

Latest version **2.2.0** (published 2016-05-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-prop-types-element-of-type
pnpm add react-prop-types-element-of-type
yarn add react-prop-types-element-of-type
bun add react-prop-types-element-of-type
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.0 |
| Published | 2016-05-30 |
| First published | 2015-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | tomchentw |
| Maintainers | tomchentw |
| Keywords | React.js, React, ReactElement, propTypes, elementOfType, componentOfType |

## Links

- npm: https://www.npmjs.com/package/react-prop-types-element-of-type
- Repository: https://github.com/tomchentw/react-prop-types-element-of-type
- Homepage: https://tomchentw.github.io/react-prop-types-element-of-type/
- Issues: https://github.com/tomchentw/react-prop-types-element-of-type/issues
- npm.io page: https://npm.io/package/react-prop-types-element-of-type

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.2.0 (latest) — 2016-05-30
- 2.1.0 — 2016-04-26
- 2.0.0 — 2016-01-25
- 1.0.2 — 2015-11-21
- 1.0.1 — 2015-11-21
- 1.0.0 — 2015-11-21

## README

# react-prop-types-element-of-type
> Check if given React element is created by certain Component type

[![Version][npm-image]][npm-url] [![Travis CI][travis-image]][travis-url] [![Quality][codeclimate-image]][codeclimate-url] [![Coverage][codeclimate-coverage-image]][codeclimate-coverage-url] [![Dependencies][gemnasium-image]][gemnasium-url] [![Gitter][gitter-image]][gitter-url]


## Usage

`react-prop-types-element-of-type` requires __React 0.14__

```sh
npm install --save react-prop-types-element-of-type
```

See [test cases](https://github.com/tomchentw/react-prop-types-element-of-type/blob/master/src/__tests__/index.spec.js) for usage.


## Development

First, clone the project.

```shell
git clone ...
```


## Contributing

[![devDependency Status][david-dm-image]][david-dm-url]

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


[npm-image]: https://img.shields.io/npm/v/react-prop-types-element-of-type.svg?style=flat-square
[npm-url]: https://www.npmjs.org/package/react-prop-types-element-of-type

[travis-image]: https://img.shields.io/travis/tomchentw/react-prop-types-element-of-type.svg?style=flat-square
[travis-url]: https://travis-ci.org/tomchentw/react-prop-types-element-of-type
[codeclimate-image]: https://img.shields.io/codeclimate/github/tomchentw/react-prop-types-element-of-type.svg?style=flat-square
[codeclimate-url]: https://codeclimate.com/github/tomchentw/react-prop-types-element-of-type
[codeclimate-coverage-image]: https://img.shields.io/codeclimate/coverage/github/tomchentw/react-prop-types-element-of-type.svg?style=flat-square
[codeclimate-coverage-url]: https://codeclimate.com/github/tomchentw/react-prop-types-element-of-type
[gemnasium-image]: https://img.shields.io/gemnasium/tomchentw/react-prop-types-element-of-type.svg?style=flat-square
[gemnasium-url]: https://gemnasium.com/tomchentw/react-prop-types-element-of-type
[gitter-image]: https://badges.gitter.im/Join%20Chat.svg
[gitter-url]: https://gitter.im/tomchentw/react-prop-types-element-of-type?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
[david-dm-image]: https://img.shields.io/david/dev/tomchentw/react-prop-types-element-of-type.svg?style=flat-square
[david-dm-url]: https://david-dm.org/tomchentw/react-prop-types-element-of-type#info=devDependencies

---
_Source: https://npm.io/package/react-prop-types-element-of-type · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
