ant-design/components/message/demo/info.md
2022-05-21 22:14:15 +08:00

428 B

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

zh-CN

信息提醒反馈。

en-US

Normal message for information.

import { Button, message } from 'antd';
import React from 'react';

const info = () => {
  message.info('This is a normal message');
};

const App: React.FC = () => (
  <Button type="primary" onClick={info}>
    Display normal message
  </Button>
);

export default App;