index.d.ts 344 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1
import * as React from "react";
jim's avatar
jim committed
2
export interface IExceptionProps {
3 4 5 6 7
  type?: "403" | "404" | "500";
  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> {}