Generates a React component in a directory along with styles (scss), optional Relay wrapper, and optional examples file to be used with react-styleguidist
npm install -g yo npm install -g generator-tb-component
Then generate your new component:
yo tb-component ComponentName [src//parent/directory]
If you don't include a path as the second argument, the component directory will be created in the current working directory.
BSD-3-Clause © Idris Mokhtarzada