1.0.0 • Published 2 years ago

@h1-card/h1-lib-ui v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

lib-ui

The frontend components library

The storybook is available here: https://d8syhi5trsw20.cloudfront.net/

Storybook

To run Storybook

npm run storybook

Build and Deploy a new storybook version

Run the command to build and upload a new version of the storybook:

make all

Run the command to build a storybook:

make build-storybook

Run the command to deploy a storybook:

make deploy-storybook

Generate JSX icons

To generate a jsx file from an .svg file, follow these steps: 1. Move you icon file in ./src/icons folder 2. Run npm run build-icons command

JSX icon file will be available at the ./src/lib/components/icons/<file_name>Icon.jsx path.