You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
329 B

9 years ago
# 普通提示
- order: 0
9 years ago
信息提醒反馈。
---
````jsx
import { message, Button } from 'antd';
const info = function() {
message.info('这是一条普通的提醒');
};
9 years ago
ReactDOM.render(<Button type="primary" onClick={info}>显示普通提醒</Button>
, document.getElementById('components-message-demo-info'));
````