hbm-react-components
Installation
$ npm install --save hbm-react-components
Usage
/js/index.js
import React from 'react';
import {Button} from 'react-components';
class App extends React.Component {
onClick = () => {
console.log('clicked');
}
render() {
return (
<div>
<Button onClick={this.onClick}>
Hello
</Button>
</div>
);
}
}
/css/index.scss
@import "../node_modules/react-components/css/hbm";
@import "../node_modules/react-components/button/Button";
Design Decisions
Interested in more of our technical decisions? See Design Decisions.
Development
- Google Material Design
- use Sass
- follow SUIT CSS guidelines
New release
$ np
License
MIT