Install via npm.
npm install rsg-components
Install via yarn, a futuristic package manager.
yarn add rsg-components
or clone the repository!
git clone https://github.com/RSG-Group/rsg-components
- Firefox > 31
- Chrome > 37
- IE < 11 unsupported.
- Versions of Safari newer than 2014-15 supported.
- Microsoft Edge supported.
- Supports Opera versions which use Blink.
import { render } from "react-dom";
import React from "react";
import { Checkbox } from "rsg-components";
render(<Checkbox props>children</Checkbox>, document.getElementById("app"));
An example in Next.js w/ aphrodite-jss is in example/
.
Run yarn
or npm i
here, then run yarn build-example
or npm run build-example
.
Then run yarn
and then yarn dev
(or npm i
and then npm run dev
if you use npm) inside the example
folder to run the example.
View all components, props and styles on the GitHub wiki page: https://github.com/RSG-Group/rsg-components/wiki/