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

411 B

order title
6
zh-CN en-US
500 500

zh-CN

服务器发生了错误。

en-US

Something went wrong on server.

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;