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.
28 lines
667 B
28 lines
667 B
import React from 'react';
|
|
import { Alert, Space, Spin } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space direction="vertical" style={{ width: '100%' }}>
|
|
<Space>
|
|
<Spin tip="Loading" size="small">
|
|
<div className="content" />
|
|
</Spin>
|
|
<Spin tip="Loading">
|
|
<div className="content" />
|
|
</Spin>
|
|
<Spin tip="Loading" size="large">
|
|
<div className="content" />
|
|
</Spin>
|
|
</Space>
|
|
|
|
<Spin tip="Loading...">
|
|
<Alert
|
|
message="Alert message title"
|
|
description="Further details about the context of this alert."
|
|
type="info"
|
|
/>
|
|
</Spin>
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|
|
|