Popover

Install

import {Popover} from '@xsolla/uikit';

Examples

onClick, top
Element
onHover, bottom
Element
onHover, below
Element

Usage

<Popover entry={<EntryElement />} trigger="hover" position="bottom">
  <ChildrenElement />
</Popover>

API

PropertyDescriptionTypeDefault
childrentrigger elementelement
entrypopover entryelement
triggerentry triggerclick, hoverclick
positioncan be set to top, bottom, belowstringtop
dataIdattribute for data identifierstring