mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 19:00:15 +08:00
17 lines
354 B
TypeScript
17 lines
354 B
TypeScript
import React from 'react';
|
|
import { Alert } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<Alert message="Success Text" type="success" />
|
|
<br />
|
|
<Alert message="Info Text" type="info" />
|
|
<br />
|
|
<Alert message="Warning Text" type="warning" />
|
|
<br />
|
|
<Alert message="Error Text" type="error" />
|
|
</>
|
|
);
|
|
|
|
export default App;
|