2.0.0 • Published 8 years ago

babel-plugin-transform-react-jsx-props v2.0.0

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

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]]
});