mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
410 B
410 B
order | title | ||||
---|---|---|---|---|---|
0 |
|
zh-CN
最简单的用法,适用于简短的警告提示。
en-US
The simplest usage for short messages.
import { Alert } from 'antd';
import React from 'react';
const App: React.FC = () => <Alert message="Success Text" type="success" />;
export default App;