Skip to content

prosekit/preact/popover

PopoverContentProps

Props for the PopoverContent component.

Type: Partial<CreateProps<PopoverContentProps, PopoverContentEvents>>

PopoverRootProps

Props for the PopoverRoot component.

Type: Partial<CreateProps<PopoverRootProps, PopoverRootEvents>>

PopoverTriggerProps

Props for the PopoverTrigger component.

Type: Partial<CreateProps<PopoverTriggerProps, PopoverTriggerEvents>>

PopoverContent

ts
function PopoverContent(props: RenderableProps<Partial<Partial<CreateProps<PopoverContentProps, PopoverContentEvents>>> & RefAttributes<PopoverContent> & HTMLAttributes<PopoverContent>, any>, context?: any): null | VNode<any>

PopoverRoot

ts
function PopoverRoot(props: RenderableProps<Partial<Partial<CreateProps<PopoverRootProps, PopoverRootEvents>>> & RefAttributes<PopoverRoot> & HTMLAttributes<PopoverRoot>, any>, context?: any): null | VNode<any>

PopoverTrigger

ts
function PopoverTrigger(props: RenderableProps<Partial<Partial<CreateProps<PopoverTriggerProps, PopoverTriggerEvents>>> & RefAttributes<PopoverTrigger> & HTMLAttributes<PopoverTrigger>, any>, context?: any): null | VNode<any>