import React from 'react'; import { DownloadOutlined } from '@ant-design/icons'; import { Button, Tooltip } from 'antd'; import type { ButtonGroupProps } from 'antd/es/button'; const getGroup = (props?: ButtonGroupProps) => (
); const App: React.FC = () => ( <> {getGroup({ size: 'small' })}
{getGroup()}
{getGroup({ size: 'large' })} ); export default App;