igakim/mcs-ui

View on GitHub
examples/src/codes/button.js

Summary

Maintainability
A
0 mins
Test Coverage

export default `
import { Button } from 'mcs-ui-kit';
// some
<div className="buttons">
  <h2>Buttons</h2>
  <Button type="warning" htmlType="button" size="small"> small Warning </Button>
  <Button type="primary" htmlType="button" size="medium"> Medium primary </Button>
  <Button type="success" htmlType="button" size="big"> Success </Button>
  <Button type="danger" htmlType="button" size="big"> Danger </Button>
  <Button type="secondary" htmlType="button" size="big"> Secondary </Button>
  <Button type="info" htmlType="button" size="big"> Info </Button>
  <Button type="info" htmlType="button" size="big" disabled> Disabled </Button>
  <div style={{ margin: '15px 0' }}>
    <Button type="primary" stretched>Stretched</Button>
  </div>
</div>
`;