mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 09:58:33 +08:00
19 lines
284 B
Markdown
19 lines
284 B
Markdown
# 普通提示
|
|
|
|
- order: 0
|
|
|
|
信息提醒反馈。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { message, Button } from 'antd';
|
|
|
|
const info = function () {
|
|
message.info('这是一条普通的提醒');
|
|
};
|
|
|
|
ReactDOM.render(<Button type="primary" onClick={info}>显示普通提醒</Button>
|
|
, mountNode);
|
|
````
|