1.1.3 • Published 11 months ago

@h1-card/h1-lib-frontend v1.1.3

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

lib-frontend

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.