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

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

export default PAGE_NAME_UPPER_CAMEL_CASE;