ant-design/components/result/demo/500.md
陈帅 1fc1710582
doc: split demos (#17415)
* split demos

close #17396

* snapshot updated

* split all demo

* fix lint error

* better code style

* change complex to error

* sort demos
2019-07-04 15:14:13 +08:00

29 lines
352 B
Markdown

---
order: 6
title:
zh-CN: 500
en-US: 500
---
## zh-CN
服务器发生了错误。
## en-US
The server is wrong.
```jsx
import { Result, Button } from 'antd';
ReactDOM.render(
<Result
status="500"
title="500"
subTitle="Sorry, the server is wrong."
extra={<Button type="primary">Back Home</Button>}
/>,
mountNode,
);
```