lore-uikit
v1.1.9
Published
shared ui kit for lore micro frontends
Downloads
27
Readme
This is React package for shared component library based on Ionic and Material Design concepts!
Package on NPM
Live Demo
How to use this package
install the package
npm i lore-uikit --save
import component
import {Button} from "lore-uikit";
then use the component
<Button
onClick={() => {
//do anything
}}
label="Toggle Theme"
/>
How to run it locally
after cloning this repo you have to run the following commands
install Dependencies
npm install
Build the library
npm run build
Publish the library
npm publish
Run storybook locally
npm run storybook
Build storybook
npm run build-storybook
Library folder structure
├── src
│ ├── components
| │ ├── Button
| | │ ├── Button.tsx
| | │ └── index.ts
| │ └── index.ts
│ ├── Shared
| │ ├── enums
| │ ├── styles
│ └── index.ts
├── package.json
└── package-lock.json