babel-plugin-transform-react-inline-elements

Turn JSX elements into exploded React objects

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-transform-react-inline-elements
6.22.06 years ago7 years agoMinified + gzip package size for babel-plugin-transform-react-inline-elements in KB

Readme

babel-plugin-transform-react-inline-elements
Turn JSX elements into exploded React objects

Installation

$ npm install babel-plugin-transform-react-inline-elements

Usage

Via .babelrc (Recommended)

.babelrc
{
  "plugins": ["transform-react-inline-elements"]
}

Via CLI

$ babel --plugins transform-react-inline-elements script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-react-inline-elements"]
});