@kommo-crm/crm-react-ui-kit
v1.7.0
Published
Ready-to-use React components which implements Kommo design
Readme
Ready-to-use React components that implement the design of Kommo
Storybook preview
Installation
| npm | yarn | pnpm |
| ----------------------------------- | -------------------------------------- | -------------------------------------- |
| npm i @kommo-crm/crm-react-ui-kit | yarn add @kommo-crm/crm-react-ui-kit | pnpm add @kommo-crm/crm-react-ui-kit |
Commands
Install dependencies and build
yarn install && yarn buildStorybook Commands
| Command | Runs |
| ---------------------- | ---------------------------------- |
| yarn lint | Lints your code |
| yarn storybook | Start Storybook on port 6006 |
| yarn build-storybook | Build Storybook for static hosting |
Testing
Run Unit tests:
yarn testWorking with Playwright
For
Playwrightto work, Docker must be installed
Run screenshot tests:
yarn test:e2eGenerate screenshots:
yarn test:e2e:update-snapshotsGenerate screenshots with grep filter:
yarn test:e2e:update-snapshots -g buttonContribute to this repo
Pull requests are welcome. See the contribution guidelines for more information.
Licenses
Source code is under a custom license based on MIT.
