zoo-grommet
v0.3.5
Published
A Zooniverse theme for the Grommet React library
Downloads
10
Keywords
Readme
Zoo Grommet
A Zooniverse theme from the Grommet React component library.
How to use
Install the package:
npm install --save zoo-grommet
And include the CSS file in your project:
@import "~zoo-grommet/dist/zoo-grommet.css"
Note for webpack users: make sure you have your css-loaders configured and add to the css-loader options:
options: {
includePaths: [path.resolve(__dirname, 'node_modules/zoo-grommet/dist')]
}
Grommet components are imported from the library as normal, e.g.
import Box from 'grommet/components/Box';
Publishing to NPM
Run npm version
and push to GitHub including tags.