ogcio / ogcio-ds

MIT License
4 stars 0 forks source link

Feat: add buttons to storybook #15

Closed anapaulalemos closed 1 year ago

anapaulalemos commented 1 year ago

Added the button component and its variations to the storybook.

In order to use the styles, we have to generate the pre-compiled styles and js files running the build script: npm run build:dist.

I updated the package.json storybook scripts so:

I also updated the Github action to run the build before deploy the storybook 😀

To test:

cd govie-frontend
npm i
npm run storybook

The storybook server should open on the port 3000