mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +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;
|