123456789101112131415161718192021222324 |
- /// <reference types="react" />
- import React from 'react';
- interface WantedPublishPopoverProp {
- popoverConfig?: {
- placement?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | undefined;
- trigger?: "hover" | "focus" | "click" | "contextMenu" | undefined;
- getPopupContainer?: any;
- };
- handleConfirm?: Function;
- }
- interface WantedPublishPopoverState {
- visible: boolean;
- current_wanted: number | string | null;
- }
- declare class WantedPublishPopover extends React.Component<WantedPublishPopoverProp, WantedPublishPopoverState> {
- constructor(props: WantedPublishPopoverProp);
- handleClose: () => void;
- clearCurrentWanted: (cb: Function) => void;
- handleUpdateCurrentWanted: (value: string | number | null, afterUpdate?: Function | undefined) => void;
- renderInitView(): JSX.Element;
- render(): JSX.Element;
- }
- export { WantedPublishPopover as default, WantedPublishPopover, WantedPublishPopoverProp, WantedPublishPopoverState };
|