mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-29 20:26:11 +08:00
20 lines
383 B
TypeScript
20 lines
383 B
TypeScript
import intl from 'react-intl-universal';
|
|
import React from 'react';
|
|
import { Button, Result, Typography } from 'antd';
|
|
|
|
const { Link } = Typography;
|
|
|
|
const NotFound: React.FC = () => (
|
|
<Result
|
|
status="404"
|
|
title="404"
|
|
extra={
|
|
<Button type="primary">
|
|
<Link href="/">{intl.get('返回首页')}</Link>
|
|
</Button>
|
|
}
|
|
/>
|
|
);
|
|
|
|
export default NotFound;
|