2.0.0 • Published 8 years ago
babel-plugin-transform-react-jsx-props v2.0.0
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]]
});