index.d.ts 344 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;
10 11
}

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