start moving more transformers to packages and finish import of plugins from babel-plugins

This commit is contained in:
Sebastian McKenzie
2015-09-01 08:37:37 +01:00
parent 9f9d9cd84b
commit 1ea835f42f
255 changed files with 3785 additions and 1265 deletions

View File

@@ -0,0 +1,35 @@
# babel-plugin-react-inline-elements
Turn JSX elements into exploded React objects
## Installation
```sh
$ npm install babel-plugin-react-inline-elements
```
## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"plugins": ["react-inline-elements"]
}
```
### Via CLI
```sh
$ babel --plugins react-inline-elements script.js
```
### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["react-inline-elements"]
});
```