generator-sentry
Generate a sentry UI component
Installation
First, install Yeoman and generator-sentry using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-sentry
When inside of your sentry development directory, you can generate your new react component (and jest test, and storybook doc):
yo sentry:component ComponentName
By default this creates a new React class using createClass
.
You can also generate a es6
or pure
component by using the --type
option.
yo sentry:component ComponentName --type es6
License
BSD-3-Clause © Sentry