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

32 lines
428 B
Markdown

---
order: 0
title:
zh-CN: 普通提示
en-US: Normal prompt
---
## zh-CN
信息提醒反馈。
## en-US
Normal message for information.
```tsx
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;
```