mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 07:39:36 +08:00
30 lines
381 B
Markdown
30 lines
381 B
Markdown
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 普通提示
|
|
en-US: Normal prompt
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
信息提醒反馈。
|
|
|
|
## en-US
|
|
|
|
Normal message for information.
|
|
|
|
```jsx
|
|
import { message, Button } from 'antd';
|
|
|
|
const info = () => {
|
|
message.info('This is a normal message');
|
|
};
|
|
|
|
ReactDOM.render(
|
|
<Button type="primary" onClick={info}>
|
|
Display normal message
|
|
</Button>,
|
|
mountNode,
|
|
);
|
|
```
|