Need private packages and team management tools?Check out npm Teams »

babel-plugin-transform-react-jsx-props

2.0.0 • Public • Published

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

Keywords

Install

npm i babel-plugin-transform-react-jsx-props

DownloadsWeekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar