Keine Beschreibung

index.d.ts 807B

12345678910111213141516171819202122232425262728
  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<
  13. WantedPublishModalProps,
  14. WantedPublishModalState
  15. > {
  16. constructor(props: WantedPublishModalProps);
  17. handleModalShow: () => void;
  18. handleClose: () => void;
  19. handleUpdateCurrentWanted: (
  20. value: string | number | null,
  21. afterUpdate?: Function | undefined
  22. ) => void;
  23. clearCurrentWanted: (cb: Function) => void;
  24. renderMain(): JSX.Element;
  25. render(): JSX.Element;
  26. }
  27. export { WantedPublishModal as default, WantedPublishModal };