You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

561 B

order title
1 图标按钮

Button 内可以嵌套图标,图标可以放在文字前、后,也可以单独存在。

import { Button } from 'antd';

ReactDOM.render(<div>
  <Button type="primary" shape="circle" icon="search" />
  <Button type="primary" icon="search">按钮</Button>
  <br />
  <Button type="ghost" shape="circle-outline" icon="search" />
  <Button type="ghost" icon="search">按钮</Button>
</div>, mountNode);