Component library for building the WorkRails catalogs.
npm run storybookto start the Storybook server and view components
Some conventions to make things easier
standardpackage for linting. It's a good set of sane defaults that are easy on the eyes.
This is mostly to prevent having 20 different files open with the name
src/components/component-name ├── component-name.js // Component implementation ├── index.js // Must export all of the component-name exports └── /dependant-component/ // Components that are part of the main component can be put in a folder under it ├── dependant-component.js // Same convention applies as above, it's turtles all the way down └── index.js
index.js, but still getting the benefit of simply importing components as folders.