ant-design/components/result/demo/500.md
MadCcc 6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00

28 lines
356 B
Markdown

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