mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-27 18:50:59 +08:00
17 lines
412 B
JavaScript
17 lines
412 B
JavaScript
import React from 'react';
|
|
import { Link } from 'react-router';
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div id="page-404">
|
|
<section>
|
|
<h1>404</h1>
|
|
<p>你要找的页面不存在 <Link to="/">返回首页</Link></p>
|
|
</section>
|
|
<style dangerouslySetInnerHTML={{
|
|
__html: '#react-content { height: 100%; background-color: #fff }',
|
|
}} />
|
|
</div>
|
|
);
|
|
}
|