No Description

index.d.ts 849B

123456789101112131415161718192021
  1. /// <reference types="react" />
  2. import React from "react";
  3. import { PopoverProps } from "antd/lib/popover";
  4. interface WantedPublishPopoverProp {
  5. popoverConfig?: PopoverProps;
  6. handleConfirm?: Function;
  7. }
  8. interface WantedPublishPopoverState {
  9. visible: boolean;
  10. current_wanted: number | string | null;
  11. }
  12. declare class WantedPublishPopover extends React.Component<WantedPublishPopoverProp, WantedPublishPopoverState> {
  13. constructor(props: WantedPublishPopoverProp);
  14. handleClose: () => void;
  15. clearCurrentWanted: (cb: Function) => void;
  16. handleUpdateCurrentWanted: (value: string | number | null, afterUpdate?: Function | undefined) => void;
  17. renderInitView(): JSX.Element;
  18. render(): JSX.Element;
  19. }
  20. export { WantedPublishPopover as default, WantedPublishPopover, WantedPublishPopoverProp, WantedPublishPopoverState };