index.d.ts 417 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;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
8
  linkElement?: React.ReactNode;
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> {}