Quantstamp Component Library and Style Guide
powered by webpack flavored React Styleguidist and NWB
[![npm package][npm-badge]][npm]
[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/qs-ui-library
How to import into a React project:
From your React.js project folder
npm i qs-ui-library --save
yarn add qs-ui-library
Then to source the component in your page or top level component
import { MyComponent } from 'qs-ui-library'
|
|
<MyComponent someprop="someVal">
How to start locally for development:
(pre-reqs: node/npm, nvm, git)
git clone git://github.com/quantstamp/qs-ui-library.git
cd qs-ui-library
nvm use
npm i
npm start
then open http://localhost:6060 in your browser.