mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
14 lines
267 B
TypeScript
14 lines
267 B
TypeScript
|
import React from 'react';
|
||
|
import { Button, Result } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Result
|
||
|
status="500"
|
||
|
title="500"
|
||
|
subTitle="Sorry, something went wrong."
|
||
|
extra={<Button type="primary">Back Home</Button>}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|