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.

16 lines
268 B

# 自定义关闭
9 years ago
- order: 5
9 years ago
可以自定义关闭,自定义的文字会替换原先的关闭 `Icon`
9 years ago
---
````jsx
import { Alert } from 'antd';
9 years ago
9 years ago
ReactDOM.render(
<Alert message="消息提示的文案" type="info" closeText="不再提醒" />
, mountNode);
9 years ago
````