Popover
Demo
Props
Prop | Type | Description |
---|---|---|
trigger | React.ReactNode (optional) | The element that triggers the Popover to appear. |
children | React.ReactNode (optional) | The content to be displayed within the Popover. |
classNames | { trigger?: string, content?: string } (optional) | Custom class names for trigger and content components. |
Styles
This component allows for custom styles via the classNames
prop:
trigger
: CSS class for styling the trigger element.content
: CSS class for styling the content of the popover.