@mb-org/core-ui
v0.0.10
Published
Embrace reusable components
Downloads
5
Readme
Embrace Core UI
Embrace reusable components
Development
Running Storybook
In Embrace root folder, run yarn sb:ui
. This will start core:ui storybook instance
Adding components
Navigate to /packages/core-ui/src and create a new folder.
Append new line inside /src/index.ts:
..
export * from './<component-name>';
Importing core:ui components
Sample import code:
import { SampleButton } from '@mb-org/core-ui';
Note: Make
yarn build
as been executed prior to avoid importing issues