mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
15 lines
295 B
TypeScript
15 lines
295 B
TypeScript
|
import React from 'react';
|
||
|
import { Alert, Spin } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Spin tip="Loading...">
|
||
|
<Alert
|
||
|
message="Alert message title"
|
||
|
description="Further details about the context of this alert."
|
||
|
type="info"
|
||
|
/>
|
||
|
</Spin>
|
||
|
);
|
||
|
|
||
|
export default App;
|