--- order: 99 title: zh-CN: 废弃的 Block 组 en-US: Deprecated Button Group debug: true --- ## zh-CN Debug usage ## en-US Debug usage ```tsx import { DownloadOutlined } from '@ant-design/icons'; import { Button, Tooltip } from 'antd'; import type { ButtonGroupProps } from 'antd/es/button'; import React from 'react'; const getGroup = (props?: ButtonGroupProps) => (
); const App: React.FC = () => ( <> {getGroup({ size: 'small' })}
{getGroup()}
{getGroup({ size: 'large' })} ); export default App; ``` ```css #components-button-demo-legacy-group .ant-btn { margin: 0; } ```