Skip to content

gajus/babel-plugin-react-display-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-react-display-name

Add displayName to React.createClass calls

Installation

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

Usage

Via .babelrc (Recommended)

.babelrc

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

Via CLI

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

Via Node API

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

About

Add displayName to React.createClass calls.

Resources

Stars

Watchers

Forks

Packages

No packages published