The Pop component can be used by importing { Pop } from "finallyreact". A simple tooltip or a custom popover can be displayed.
Prop Name | Prop Type | Description |
---|---|---|
customDisplay | React.ReactNode | Custom content to display in the pop wrapper |
location | 'top' | 'bottom' | 'left' | 'right' | Location of the pop wrapper relative to the trigger element |
show | boolean | Whether the pop wrapper is shown |
showArrow | boolean | Whether the pop wrapper shows an arrow |
simple | boolean | Renders a simple pop wrapper |
text | string | Text content for the pop wrapper |
tooltipProps | HTMLAttributes | Props for the tooltip element |
triggerType | 'click' | 'hover' | 'manual' | Type of trigger for the pop wrapper |