react-nero
v0.1.13
Published
Components library used for a demo.
Downloads
8
Readme
NERO
Components library used for a demo.
Usage
Install
$ # With npm
$ npm install --save react-nero
$ # Or yarn
$ yarn add react-nero
Example
import React, { Component } from 'react';
import { Button } from 'react-nero';
class App extends Component {
onClick = () => {
alert('You clicked a super stylish button!');
}
render() {
return (
<Button
primary
onClick={this.onClick}
>
Click me!
</Button>
);
}
}
Tasks
Development
$ yarn start #styleguide:server
$ yarn test:watch
Tests & Coverage
$ yarn test
$ yarn test:coverage
Deployment
$ yarn deploy