ant-design/components/button/demo/legacy-group.md
二货机器人 06afc9cd9c
fix: Button.Group size style issue (#21307)
* remove useless fixing line-height

* update snapshot
2020-02-10 11:32:37 +08:00

544 B

order title debug
99
zh-CN en-US
废弃的 Block 组 Deprecated Button Group
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,
);