babel-plugin-transform-react-jsx-props
v2.0.0
Published
Add additional props to a jsx snippet
Downloads
14
Keywords
Readme
babel-plugin-transform-react-jsx-props
Adds additional props to jsx snippets.
Example
###In
<sometag />
###Out
<sometag prop="string" />
Installation
$ npm install babel-plugin-transform-react-jsx-props
Usage
Via Node API
require("babel-core").transform("code", {
plugins: [["transform-react-jsx-props", options]]
});