Skip to content

prosekit/preact/tooltip

TooltipContentProps

Props for the TooltipContent component.

Type: Partial<CreateProps<TooltipContentProps, TooltipContentEvents>>

TooltipRootProps

Props for the TooltipRoot component.

Type: Partial<CreateProps<TooltipRootProps, TooltipRootEvents>>

TooltipTriggerProps

Props for the TooltipTrigger component.

Type: Partial<CreateProps<TooltipTriggerProps, TooltipTriggerEvents>>

TooltipContent

ts
function TooltipContent(props: RenderableProps<Partial<Partial<CreateProps<TooltipContentProps, TooltipContentEvents>>> & RefAttributes<TooltipContent> & HTMLAttributes<TooltipContent>, any>, context?: any): null | VNode<any>

TooltipRoot

ts
function TooltipRoot(props: RenderableProps<Partial<Partial<CreateProps<TooltipRootProps, TooltipRootEvents>>> & RefAttributes<TooltipRoot> & HTMLAttributes<TooltipRoot>, any>, context?: any): null | VNode<any>

TooltipTrigger

ts
function TooltipTrigger(props: RenderableProps<Partial<Partial<CreateProps<TooltipTriggerProps, TooltipTriggerEvents>>> & RefAttributes<TooltipTrigger> & HTMLAttributes<TooltipTrigger>, any>, context?: any): null | VNode<any>