index.d.ts 311 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1
import * as React from "react";
2 3 4 5 6 7
export interface ExceptionProps {
  type?: "403" | "404" | "500";
  title?: React.ReactNode;
  desc?: React.ReactNode;
  img?: string;
  actions?: React.ReactNode;
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
8
  linkElement?: React.ReactNode;
9 10 11
}

export default class Exception extends React.Component<ExceptionProps, any> {}