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/chromatingit clone https://github.com/intermine/chromatin.git
First you have to navigate to the project folder.
cd chromatinThen install dependencies.
npm i
Note:
reactandreact-domare 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 testnpm run storybook
npm run build-storybook