import React from "react"; import { BubbleContentProps } from "./BubbleContent"; import { PopoverProps } from "../popover"; export interface BubbleProps extends Pick, BubbleContentProps { /** * 气泡内容 * * 如果气泡内容传入 `null` 或者 `undefined`,则不会出现气泡 */ content?: React.ReactNode; /** * 气泡箭头是否指向目标元素中心 * * @default false * @since 2.2.0 */ arrowPointAtCenter?: boolean; /** * 触发更新位置的变量依赖列表,可用于性能优化 * * **更新位置可防止气泡溢出屏幕或产生偏移** * * @default [content] */ updateDeps?: any[]; } export declare const Bubble: React.ForwardRefExoticComponent>;