index.tsx 447 Bytes
Newer Older
xiaohuoni's avatar
xiaohuoni committed
1

xiaohuoni's avatar
xiaohuoni committed
2 3 4
import React from 'react';
import { formatMessage } from 'umi-plugin-react/locale';
import Link from 'umi/link';
xiaohuoni's avatar
xiaohuoni committed
5
import Exception from './components/Exception';
xiaohuoni's avatar
xiaohuoni committed
6 7 8 9 10 11

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

export default PAGE_NAME_UPPER_CAMEL_CASE;