refactor: Add storybook + initial story (#118)

This hooks up `storybook`, which the front-end team has enjoyed using in the v1 codebase - it makes it quick and easy to view and test components in isolation.

The `<LoadingButton />` has a simple story added now, so if you run `yarn storybook`, you can preview it in various states:

![2022-01-31 19 24 24](https://user-images.githubusercontent.com/88213859/151908656-27dac0a8-9c6e-4353-ad25-3eafee979bd4.gif)

This will be helpful as we bring more front-end devs to help build v2 out.
This commit is contained in:
Bryan
2022-02-04 08:36:58 -08:00
committed by GitHub
parent c65850b654
commit 94f71feeba
10 changed files with 8090 additions and 137 deletions
+3
View File
@@ -198,6 +198,9 @@ jobs:
- run: yarn build
working-directory: site
- run: yarn storybook:build
working-directory: site
- run: yarn test:coverage
working-directory: site