mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
381 B
381 B
order | title | ||||
---|---|---|---|---|---|
0 |
|
zh-CN
信息提醒反馈。
en-US
Normal message for information.
import { message, Button } from 'antd';
const info = () => {
message.info('This is a normal message');
};
ReactDOM.render(
<Button type="primary" onClick={info}>
Display normal message
</Button>,
mountNode,
);