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