You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

common.ts 378B

12345678910111213141516171819
  1. export interface Pagination {
  2. current: number;
  3. pageSize: number;
  4. total: number;
  5. }
  6. export interface BaseState {
  7. pagination: Pagination;
  8. searchString: string;
  9. }
  10. export interface IModalProps<T> {
  11. showModal?(): void;
  12. hideModal?(): void;
  13. switchVisible?(visible: boolean): void;
  14. visible?: boolean;
  15. loading?: boolean;
  16. onOk?(payload?: T): Promise<any> | void;
  17. }