mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
29 lines
373 B
Markdown
29 lines
373 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');
|
|
};
|
|
|
|
export default () => (
|
|
<Button type="primary" onClick={info}>
|
|
Display normal message
|
|
</Button>
|
|
);
|
|
```
|