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

373 B

order title
0
zh-CN en-US
普通提示 Normal prompt

zh-CN

信息提醒反馈。

en-US

Normal message for information.

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