Popover

Popover

Default

Props

NameTypeRequiredDefaultDescription
contentReact.ReactNodeYes-Content of popover.
defaultStatebooleanNofalseOpen/Closed popover by default.
closeOnClickOutsidebooleanNotrueClose popover if clicked outside.
placementPlacementNo-Placement of popover.
minWidthnumberNo300min-width value of popover (px)
maxWidthnumberNo600max-width value of popover (px)
type Placement = 'top'
| 'top-start'
| 'top-end'
| 'right'
| 'right-start'
| 'right-end'
| 'bottom'
| 'bottom-start'
| 'bottom-end'
| 'left'
| 'left-start'
| 'left-end'
| 'auto'
| 'auto-start'
| 'auto-end';