UNPKG

@visactor/react-vtable

Version:

The react version of VTable

16 lines (15 loc) 618 B
import type { IGroup } from '@visactor/vtable/es/vrender'; import type { CSSProperties, ReactElement, ReactNode } from 'react'; import React from 'react'; type Anchor = 'top' | 'tl' | 'tr' | 'bottom' | 'bl' | 'br' | 'left' | 'lt' | 'lb' | 'right' | 'rt' | 'rb'; export interface PopoverProps { children?: ReactElement; defaultPopupVisible?: boolean; popupVisible?: boolean; position?: Anchor; content?: ReactNode; panelStyle?: CSSProperties; arrowStyle?: CSSProperties; } export declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<IGroup>>; export {};