@zooniverse/react-components v1.12.0
Zooniverse React Components
Common React components used throughout the Zooniverse.
Getting Started
Install the package from NPM:
npm i @zooniverse/react-components
and use it
ES5
var { ZooFooter } = require('@zooniverse/react-components');
ES6
import { ZooFooter } from '@zooniverse/react-components';
Run
yarn start
to run the storybook locally on (https://localhost:6007).
Tests
yarn test
to run mocha tests.
Contributing
Components should be added to the src/components
folder and an export to src/index.js
. Each component should be tested, documented readme, and have a storybook example added.
Technologies and tools we use
All of our components are written using React, built on top of Grommet, a component UI library, and styled by our custom Grommet style theme (@zooniverse/grommet-theme) and styled-components.
- Grommet - React UI component library
- React.js - Component, virtual DOM based javascript library
- styled-components - CSS in JS for styling and theming
react-i18next - Internationalization framework for React.
Testing is done by
Mocha - test runner
- Chai - BDD/TDD assertion library
- Sinon - test spies, mocks, and stubs
- Enzyme - testing utility for React
2 months ago
5 months ago
6 months ago
7 months ago
9 months ago
6 months ago
6 months ago
7 months ago
6 months ago
8 months ago
6 months ago
8 months ago
8 months ago
8 months ago
5 months ago
6 months ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago