Visual language written in Storybook/React.
Use the package manager npm to install storybook and all dependencies.
npm install
npm run start
npm run build:story
npm run build:dist
When including new SVG icons to Storybook run command below and include new generated files/icons in commit.
npm run build:icons
Icon is same as included svg name.
people.svg
is just people
.
Check more on Icon Component.
<Icon name="name" />
npm run test
npm run test -- -u
npm run test:cov
npm run clean
Components:
Upper Camel case, with upper first letter.
Example: DateStepper
Props:
Camel case.
Example: shouldDisplay
Tests:
With test suffix.
Example: DateStepper.test
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.