UNPKG

@yandex/ui

Version:

Yandex UI components

27 lines (26 loc) 2.47 kB
/// <reference types="react" /> export * from '../Popup@desktop'; export declare const Popup: import("react").StatelessComponent<{ addonAfter?: import("react").ReactNode; addonBefore?: import("react").ReactNode; hasTail?: boolean | undefined; innerRef?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; keepMounted?: boolean | undefined; scope?: import("react").RefObject<HTMLElement> | undefined; tailRef?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; tailSize?: number | undefined; visible?: boolean | undefined; zIndex?: number | undefined; className?: string | undefined; style?: import("react").CSSProperties | undefined; unstable_onRenderTail?: ((tail: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>) | undefined; children?: string | number | boolean | {} | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").ReactNodeArray | import("react").ReactPortal | ((props: { tailRef?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; }) => import("react").ReactNode) | null | undefined; onClose?: import("../../LayerManager").OnClose | undefined; unstable_essentialRefs?: import("react").RefObject<HTMLElement>[] | undefined; unstable_hostRef?: import("react").RefObject<HTMLElement> | undefined; onClick?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined; } & import("../_nonvisual/Popup_nonvisual").IPopupNonvisualProps & import("../_target/Popup_target_anchor").IPopupTargetAnchorProps & import("../_view/Popup_view_default").IPopupViewDefaultProps & {} & { theme?: "normal" | "clear" | undefined; }>;