ant-design/components/result/demo/500.md
2022-05-21 22:14:15 +08:00

31 lines
411 B
Markdown

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