Няма описание

12345678910111213141516171819202122
  1. /// <reference types="react" />
  2. import { Component } from "react";
  3. import { ModalProps } from "../Modal/index";
  4. interface WantedPublishModalProps {
  5. modalConfig?: ModalProps;
  6. handleConfirm?: Function;
  7. }
  8. interface WantedPublishModalState {
  9. modalVisible: boolean;
  10. current_wanted: number | string | null;
  11. }
  12. declare class WantedPublishModal extends Component<WantedPublishModalProps, WantedPublishModalState> {
  13. constructor(props: WantedPublishModalProps);
  14. handleModalShow: () => void;
  15. handleClose: () => void;
  16. handleUpdateCurrentWanted: (value: string | number | null, afterUpdate?: Function | undefined) => void;
  17. clearCurrentWanted: (cb: Function) => void;
  18. renderMain(): JSX.Element;
  19. render(): JSX.Element;
  20. }
  21. export { WantedPublishModal as default, WantedPublishModal };