@arbor-education/design-system.components
v0.5.1
Published
The component library for the design system (the baby)
Downloads
1,060
Maintainers
Keywords
Readme
Components for the Design System
What components are there?
Have a look at our wonderful Storybook.
Local set up
Prerequisites
Make sure you have nvm and yarn installed
Set up steps
Run nvm use
Run yarn install
Run yarn storybook
Storybook should then build and open a browser window with your local version, complete with all the hot reloading niceties, ready for you to start development.
How can I create a component?
In order to use the createComponent script, run the following command:
chmod +x bin/createComponent.shThen you can create a new component by running
npm run create-component <ComponentName>How can I link this package locally?
You can link this package locally using Yalc. To publish new changes locally with hot loading, run:
yarn buildOn the consumer project run:
yalc add design-system.components