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.
 
 

428 B

order title
4 [{zh-CN 自定义 Icon 图标} {en-US Customize icon}]

zh-CN

使用 icon 自定义提示 icon

en-US

Set icon props to customize the icon.

import { Popconfirm, Icon } from 'antd';

ReactDOM.render(
  <Popconfirm
    title="Are you sure?"
    icon={<Icon type="question-circle-o" style={{ color: 'red' }} />}
  >
    <a href="#">Delete</a>
  </Popconfirm>,
  mountNode,
);