mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +08:00
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
|
import React from 'react';
|
||
|
import { CloseCircleOutlined } from '@ant-design/icons';
|
||
|
import { Button, Result, Typography } from 'antd';
|
||
|
|
||
|
const { Paragraph, Text } = Typography;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Result
|
||
|
status="error"
|
||
|
title="Submission Failed"
|
||
|
subTitle="Please check and modify the following information before resubmitting."
|
||
|
extra={[
|
||
|
<Button type="primary" key="console">
|
||
|
Go Console
|
||
|
</Button>,
|
||
|
<Button key="buy">Buy Again</Button>,
|
||
|
]}
|
||
|
>
|
||
|
<div className="desc">
|
||
|
<Paragraph>
|
||
|
<Text
|
||
|
strong
|
||
|
style={{
|
||
|
fontSize: 16,
|
||
|
}}
|
||
|
>
|
||
|
The content you submitted has the following error:
|
||
|
</Text>
|
||
|
</Paragraph>
|
||
|
<Paragraph>
|
||
|
<CloseCircleOutlined className="site-result-demo-error-icon" /> Your account has been
|
||
|
frozen. <a>Thaw immediately ></a>
|
||
|
</Paragraph>
|
||
|
<Paragraph>
|
||
|
<CloseCircleOutlined className="site-result-demo-error-icon" /> Your account is not yet
|
||
|
eligible to apply. <a>Apply Unlock ></a>
|
||
|
</Paragraph>
|
||
|
</div>
|
||
|
</Result>
|
||
|
);
|
||
|
|
||
|
export default App;
|