This is the Simpleniht UI library. It is a collection of components and icons that are used in the Simplenight web application.
npm run initialize or
yarn initialize or
pnpm run initialize
npm run storybook/dev or
yarn storybook/dev or
pnpm run/dev storybook
This will run in port 6006.
Run yarn changeset
to update current versioning with patch and describe your task or Add the jira ticket. Like a commit.
- Remember always to remove the
height
andwidth
from the svg file. - After that, run
yarn compile-icons
to convert the svg file to a react component. - Finally, add the icon to the
src/icons/index.ts
andsrc/icons/Icons.stories.mdx
files with a storybook story in its category.
-
Super simple, just install the library with the next commands:
npm install @simplenight/ui or pnpm add @simplenight/ui or yarn add @simplenight/ui