index.d.ts 430 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
jim's avatar
jim committed
2
export interface IExceptionProps {
jim's avatar
jim committed
3
  type?: '403' | '404' | '500';
4 5 6 7
  title?: React.ReactNode;
  desc?: React.ReactNode;
  img?: string;
  actions?: React.ReactNode;
8
  linkElement?: string | React.ComponentType;
jim's avatar
jim committed
9
  style?: React.CSSProperties;
kenve's avatar
kenve committed
10 11
  className?: string;
  backText?: React.ReactNode;
陈帅's avatar
陈帅 committed
12
  redirect?: string;
13 14
}

jim's avatar
jim committed
15
export default class Exception extends React.Component<IExceptionProps, any> {}