Sha256: 311c2dcb689de0c6d6e8387ddb4b2ccc7d18b2ea57e04b91e47d2a62f0a61d1d

Contents?: true

Size: 451 Bytes

Versions: 8

Compression:

Stored size: 451 Bytes

Contents

# babel-plugin-react-display-name

Add displayName to React.createClass calls

## Installation

```sh
$ npm install babel-plugin-react-display-name
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["react-display-name"]
}
```

### Via CLI

```sh
$ babel --plugins react-display-name script.js
```

### Via Node API

```javascript
require("babel-core").transform("code", {
  plugins: ["react-display-name"]
});
```

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
ilog-0.4.1 node_modules/babel-plugin-react-display-name/README.md
ilog-0.4.0 node_modules/babel-plugin-react-display-name/README.md
ilog-0.3.3 node_modules/babel-plugin-react-display-name/README.md
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/babel-plugin-react-display-name/README.md
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/babel-plugin-react-display-name/README.md
es6_tilt-0.1.2 test/dummy/app/assets/javascripts/node_modules/babel-plugin-react-display-name/README.md
es6_tilt-0.1.1 test/dummy/app/assets/javascripts/node_modules/babel-plugin-react-display-name/README.md
es6_tilt-0.1.0 test/dummy/app/assets/javascripts/node_modules/babel-plugin-react-display-name/README.md