Bedrock is Concrete's front end library
This repository makes use of storybook to allow for a clean development environment as well as a reference for how components should be used.
Run npm run storybook
to begin working with storybook.
If you're working on an existing component it's worth checking for a .stories.js
file for it in /stories/
before creating a new one.
- Create a new
something.stories.js
file in/stories/
underneath a directory that makes sense - Copy the contents of
/stories/stories.js.sample
into your new file as a boilerplate - Update component name and other placeholder values to match the component you're working on