React-based UI library of commonly used components following atomic design concepts.
npm install
npm run storybook
- Create new component or new component collection namespace (i.e. markets, videoplayer) folder in
components - Build component(s) and create
.storybook.jsxtemplates - Include
Knobsin storybook where necessary (https://www.npmjs.com/package/@storybook/addon-knobs)
npm run lint
The lib folder has JavaScript and CSS transpiled and distributed for production use.
npm run build
git push origin [BRANCH_NAME]
- Folders -
lowercase(i.e. markets, videoplayer) - Components -
TitleCase(i.e. TextLabel, TickerTape) - Props -
snake_case(i.e. initial_index, quote_lists) - Functions -
camelCase - Knobs - same casing as prop they are assigned to (usually
snake_case)