2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 0
|
2016-07-04 10:44:55 +08:00
|
|
|
title:
|
|
|
|
zh-CN: 普通提示
|
|
|
|
en-US: Normal prompt
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-07-11 16:40:59 +08:00
|
|
|
|
2016-07-04 10:44:55 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-09-07 12:32:31 +08:00
|
|
|
信息提醒反馈。
|
2015-07-11 16:40:59 +08:00
|
|
|
|
2016-07-04 10:44:55 +08:00
|
|
|
## en-US
|
|
|
|
|
|
|
|
Normal messages as feedbacks.
|
|
|
|
|
2017-02-13 10:55:53 +08:00
|
|
|
````jsx
|
2015-10-28 20:55:49 +08:00
|
|
|
import { message, Button } from 'antd';
|
2015-07-11 16:40:59 +08:00
|
|
|
|
2017-03-19 01:14:44 +08:00
|
|
|
const info = () => {
|
2016-07-04 10:44:55 +08:00
|
|
|
message.info('This is a normal message');
|
2015-07-11 18:00:58 +08:00
|
|
|
};
|
2015-07-11 16:40:59 +08:00
|
|
|
|
2017-03-19 01:14:44 +08:00
|
|
|
ReactDOM.render(
|
|
|
|
<Button type="primary" onClick={info}>Display normal message</Button>
|
2015-12-29 12:08:58 +08:00
|
|
|
, mountNode);
|
2015-07-11 18:00:58 +08:00
|
|
|
````
|