0.1.0 • Published 3 years ago
md-component-library v0.1.0
medirecod design system User Guide
Commands
yarn start # or yarn startThis builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.
Storybook
Run inside another terminal:
yarn storybookstart a new component
yarn gen component Card //Card is the component namethen select component,
This generate a component with name Card for you:
✔ ++ /src/components/Card/Card.tsx
✔ ++ /src/components/Card/Card.test.tsx
✔ ++ /src/components/Card/Card.stories.tsx
✔ ++ /src/components/Card/Card.styled.ts
✔ ++ /src/components/Card/index.ts
✔ _+ /src/components/index.ts
✔ _+ /src/components/index.ts0.1.0
3 years ago