mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +08:00
06afc9cd9c
* remove useless fixing line-height * update snapshot
544 B
544 B
order | title | debug | ||||
---|---|---|---|---|---|---|
99 |
|
true |
zh-CN
Debug usage
en-US
Debug usage
import { Button } from 'antd';
function getGroup(props) {
return (
<div>
<Button.Group {...props}>
<Button type="primary">Button 1</Button>
<Button type="primary">Button 2</Button>
</Button.Group>
</div>
);
}
ReactDOM.render(
<div>
{getGroup({ size: 'small' })}
{getGroup()}
{getGroup({ size: 'large' })}
</div>,
mountNode,
);