Intermine's component library in React.
To install this library you can do using npm or yarn:
npm i @intermine/chromatin
# or
yarn add @intermine/chromatin
git clone https://github.com/intermine/chromatin.git
First you have to navigate to the project folder.
cd chromatin
Then install dependencies.
npm i
Note:
react
andreact-dom
are peer dependencies. So to build this project locally or to run storybook you need to install these two dependencies manually. You can do so by following below steps.
npm i react react-dom @types/react @types/react-dom --no-save
npm run build
npm run prod
npm run test
npm run storybook
npm run build-storybook