index.tsx 448 Bytes
Newer Older
1
import React from 'react';
xiaohuoni's avatar
xiaohuoni committed
2
import { formatMessage } from 'umi-plugin-react/locale';
3
import Link from 'umi/link';
xiaohuoni's avatar
xiaohuoni committed
4
import Exception from './components/Exception';
5

陈帅's avatar
陈帅 committed
6
const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => (
7 8 9
  <Exception
    type="404"
    linkElement={Link}
xiaohuoni's avatar
xiaohuoni committed
10
    desc={formatMessage({ id: 'BLOCK_NAME.description.404' })}
11 12 13 14 15
    backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })}
  />
);

export default PAGE_NAME_UPPER_CAMEL_CASE;