index.d.ts 316 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
jim's avatar
jim committed
2
export interface IResultProps {
jim's avatar
jim committed
3
  type: 'success' | 'error';
4 5 6 7
  title: React.ReactNode;
  description?: React.ReactNode;
  extra?: React.ReactNode;
  actions?: React.ReactNode;
jim's avatar
jim committed
8
  style?: React.CSSProperties;
9 10
}

jim's avatar
jim committed
11
export default class Result extends React.Component<IResultProps, any> {}