gee-material-ui
v0.1.0
Published
react material ui components
Downloads
2
Maintainers
Readme
Gee-material-ui -beta
Use React to implement Google Material UI design.
Installation
npm install gee-material-ui --save
Usage
import { Avatar, ... } from 'gee-material-ui';
class Test extends React.Component {
constructor(props){
super(props);
this.state = {
avatarOption: {
// options for Button component
size: 'small', // defalut is middle / small / middle / large
customSize: 50,
boxShadow: true,
animate: '', //hover-to-scale
src: '',
iconClass: '',
style: {
backgroundColor: '#f60',
color: '#fff',
fontSize: '12px',
},
onClickFunc: (e) => {
alert('You click Avatar!');
},
},
};
}
render() {
return (
<Avatar options={this.state.avatarOption} />
);
}
}
Components Options
This is the options for component.
- Avatar options
- Button options
- Isometric Button options
- Scale Button options
- Input options
- Card options
- List options
- Curtain options
- DataPicker options
- Dialog options
- Drawer options
- Grid options
- Menu options
- Radio List options
##License
MIT