Name | Type | Required | Default | Description |
---|---|---|---|---|
beforeHide | BeforeCallback | false | ||
beforeShow | BeforeCallback | false | The callback to run before the overlay is shown. Returning
| |
children | ReactNode | false | ||
className | string | false | Additional classNames | |
initialIsVisible | boolean | false | false | Whether to show the overlay on initial render |
overlay | ReactElement<{ placement?: Placement }, string | JSXElementConstructor<any>> | false | The tip we want to display | |
overlayRef | false | Toggles overlay visibility | ||
placement | Placement | false | top | Determines the position of the arrow |
restoreFocusOnHide | boolean | false | false | Return focus to trigger after the closing popover modal dialog Accessibility notes: Should be set to true. |
role | Role | false | ||
style | CSSProperties | false | Additional CSS styles | |
trigger | TriggerVariant | TriggerVariant[] | false | click | The event to trigger the overlay |
Enables an accessible experience and manages focus and events.
Name | Type | Required | Default | Description |
---|---|---|---|---|
fluid | boolean | false | ||
placement | Placement | false |
The callback to run before the overlay is hidden. Returning
false
will prevent hiding.11.15.0