UNPKG

@logicflow/dumi-theme-simple

Version:
23 lines 770 B
import React from 'react'; import { HomeOutlined } from '@ant-design/icons'; import { Result, Button } from 'antd'; import { Link } from 'dumi'; import { jsx as _jsx } from "react/jsx-runtime"; import { jsxs as _jsxs } from "react/jsx-runtime"; import { Fragment as _Fragment } from "react/jsx-runtime"; export var NotFound = function NotFound() { return /*#__PURE__*/_jsx(_Fragment, { children: /*#__PURE__*/_jsx(Result, { status: '404', title: "404", subTitle: "Sorry, the page you visited does not exist.", extra: /*#__PURE__*/_jsx(Link, { to: "/", children: /*#__PURE__*/_jsxs(Button, { type: "primary", children: [/*#__PURE__*/_jsx(HomeOutlined, {}), "Back Home"] }) }) }) }); };