mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
4972383c3c
* New Components Result antd 又变大了一点 * fix review warning remove classname "view" The class name of status hits the outermost layer * rm fragment * fix build error * update snapshot * add PRESENTED_SVG_DEFAULT * fix doc * fix lint * fix compile error * fix review warning * fix react15 error * add new demo * remove not required code * updated snapshot * api some empty * change svg to image
1.0 KiB
1.0 KiB
order | title | ||||
---|---|---|---|---|---|
1 |
|
zh-CN
提供更加复杂的反馈。
en-US
Provide more complex feedback.
import { Result, Button, Icon, Typography } from 'antd';
const { Title, Paragraph } = Typography;
ReactDOM.render(
<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">
<Title level={4}>The content you submitted has the following error:</Title>
<Paragraph>
<Icon style={{ color: 'red' }} type="close-circle" /> Your account has been frozen{' '}
<a>Thaw immediately ></a>
</Paragraph>
<Paragraph>
<Icon type="close-circle" /> Your account is not yet eligible to apply{' '}
<a>Apply immediately ></a>
</Paragraph>
</div>
</Result>,
mountNode,
);