Skip to content

FeaturePopover

FeaturePopover

This is a wrap component, which is inherited from <Popper/>.

jsx
import FeaturePopover from '@semcore/ui/feature-popover';
<FeaturePopover />;

FeaturePopoverProps

& {...}
NameTypeDescription
visibleboolean 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

& {...}
NameTypeDescription
closeIconboolean The property responsible for the visibility of the closing icon
durationnumber Animation display duration in `ms`
localestring 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 />;

Released under the MIT License.

Released under the MIT License.