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.

30 lines
355 B

---
order: 0
title:
zh-CN: 基本
en-US: Basic
---
9 years ago
## zh-CN
最简单的用法,适用于简短的警告提示。
9 years ago
## en-US
The simplest usage for short messages.
````jsx
import { Alert } from 'antd';
9 years ago
ReactDOM.render(
<Alert message="Success Text" type="success" />,
mountNode
);
9 years ago
````
<style>
.ant-alert {
margin-bottom: 16px;
}
</style>