An open API service indexing awesome lists of open source software.

https://github.com/c8r/get-jsx-props

Get props from a jsx string
https://github.com/c8r/get-jsx-props

Last synced: about 1 year ago
JSON representation

Get props from a jsx string

Awesome Lists containing this project

README

          

# get-jsx-props

Get props used in a jsx string.

## Installation

```bash
npm install --save @compositor/get-jsx-props
```

## Usage

```javascript
var getJsxProps = require('@compositor/get-jsx-props')

getJsxProps(jsx)
```

## License

MIT

## Contributing

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

## Related

* https://github.com/c8r/babel-plugin-get-jsx-props

[Made by Compositor](https://compositor.io)
|
[MIT License](LICENSE.md)