@imtf/panache
v2.1.4
Published
This repository contains the IMTF component library. It is a collection of reusable components that can be used in any front-end IMTF project developed with React.
Downloads
2,410
Keywords
Readme
🍻 Panaché - React component library
This repository contains the IMTF component library. It is a collection of reusable components that can be used in any front-end IMTF project developed with React.
Pre-requisites
The following peer dependencies must be installed:
@mui/material
5.13.0 or higher@emotion/react
&@emotion/styled
11.0.0 or higherclsx
1.2.0 or higherlodash-es
4.17.0 or higherreact
andreact-dom
18.0.0 or higher
Installation
just run within your project:
# with npm
npm install @imtf/panache
# with yarn
yarn add @imtf/panache
Development
Prior to development, make sure you have to install the depencencies:
npm install
Then you can start storybook in order to develop and test the components:
# Start storybook
npm run dev
Testing
To run the tests, just run:
npm run test
Coverage report can be generated with:
npm run test:coverage
Tests (and coverage) can be run as well with a UI in browser with:
npm run test:ui