mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
428 B
428 B
order | title | ||||
---|---|---|---|---|---|
0 |
|
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;