ant-design/components/message/demo/info.md
MadCcc 6776bb8916
docs: demo support react18 (#34843)
* 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
2022-04-03 23:27:45 +08:00

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>
);
```