暂无描述

index.d.ts 363B

12345678910111213
  1. /// <reference types="react" />
  2. import React from "react";
  3. interface ModalProps {
  4. visible: boolean;
  5. onCancel: (e: any) => void;
  6. container?: HTMLElement;
  7. }
  8. declare class Modal extends React.PureComponent<ModalProps> {
  9. static hasShowWarning: boolean;
  10. render(): false | React.ReactPortal | null;
  11. }
  12. export { Modal as default, Modal, ModalProps };