ant-design/components/result/demo/500.md
ibrahim velinov 336a6fba42
docs: Rephrase 500 error (#23570)
* Rephrase 500 error

'Server is wrong' is not a clear sentence for users. I propose to use 'Something went wrong' with 500.

* Update demo.test.js.snap
2020-04-25 18:16:12 +08:00

364 B

order title
6
zh-CN en-US
500 500

zh-CN

服务器发生了错误。

en-US

Something went wrong on server.

import { Result, Button } from 'antd';

ReactDOM.render(
  <Result
    status="500"
    title="500"
    subTitle="Sorry, something went wrong."
    extra={<Button type="primary">Back Home</Button>}
  />,
  mountNode,
);