joywok-material-components
Version:
<h1 align="center"> Joywok Material Components </h1>
31 lines (29 loc) • 707 B
JavaScript
/**
*
* @api {} 最初默认按钮(后续建议使用normal的Button按钮)
* @apiName 按钮组件
* @apiGroup 组件使用
*
* @apiSuccessExample {json} 使用案例:
import Button from "joywok-material-components/lib/button/normal";
<Button style={{background:"#32a62e"}}>12312312</Button>
*
*
*/
import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@material-ui/core/Button';
class JwButton extends React.Component{
constructor(props) {
super(props);
}
render(){
return (<div className={"jw-button"}>
<Button {...this.props}>
{this.props.children}
</Button>
</div>
)
}
}
export default JwButton;