FeaturePopover
FeaturePopover
This is a wrap component, which is inherited from <Popper/>.
jsx
import FeaturePopover from '@semcore/ui/feature-popover';
<FeaturePopover />;FeaturePopoverProps
& {...}| Name | Type | Description |
|---|---|---|
| visible | boolean | Popper visibility value |
| onVisibleChange | (visible: boolean, e: ) => boolean | void | Function called when visibility changes |
| placement | The position of the popper relative to the trigger that called it. | |
| theme | "accent" | "neutral" | The theme of FeaturePopover |
FeaturePopover.Trigger
The element to which <FeaturePopover.Popper/> will be attached. Inherits all Box properies.
jsx
import FeaturePopover from '@semcore/ui/feature-popover';
<FeaturePopover.Trigger />;FeaturePopover.Popper
The element with the FeaturePopover content. It's inherited from <Popper.Popper/>.
jsx
import FeaturePopover from '@semcore/ui/feature-popover';
<FeaturePopover.Popper />;FeaturePopoverPopperProps
& {...}| Name | Type | Description |
|---|---|---|
| closeIcon | boolean | The property responsible for the visibility of the closing icon |
| duration | number | Animation display duration in `ms` |
| locale | string | Specifies the locale for i18n support |
FeaturePopover.Spot
This blinking circle is inherited from Box.
jsx
import FeaturePopover from '@semcore/ui/feature-popover';
<FeaturePopover.Spot />;