mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +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;
|