pdh-design-system
v1.0.1
Published
PDH Design System React Components
Downloads
49
Readme
PDH-Design-System-React
Storybook project for the react portion of design system of the Pacific Data Hub.
Usage
To run the storybook, use the following command:
npm run storybookTo run the storybook with debugging, use the following command:
npm run sb-debugTo build the component library (outputs CJS + ESM + types + CSS to dist/), use the following command:
npm run buildTo build a static export of the storybook, use the following command:
npm run build-storybookTo serve the static storybook export locally, use the following command:
npm run serve-storybookTheme
To set the theme of the storybook, set the STORYBOOK_THEME environment variable to either "dark" or "light".
STORYBOOK_THEME=dark npm run storybook