Collection of theme-ui and external components.
Theme UI
created:3/15/2021
updated:3/15/2021
source lines:85
comments %:7

Popover

@component-controls/components
3.4.5

Popover container that is triggered by a click/hover event, using react-popper-tooltip.

import { Popover } from '@component-controls/components';

Overview

Name
Description
Default
Controls
placement

Tooltip placement w.r.t. trigger

autoauto-startauto-endtopbottomrightlefttop-starttop-endbottom-startbottom-endright-startright-endleft-startleft-end
bottom
trigger

Event that triggers the tooltip

Trigger
hover

Name
Description
Default
PopoverOwnProps (1 properties)
arrowVisible

set to false to hide the arrow

boolean
true
TooltipTriggerProps (16 properties)

package
imports
peer
@theme-ui/css
^0.6.0-alpha.7
get
*
react
^17.0.1
ReactFC
*
TooltipTrigger
TooltipTriggerPropsChildrenArg
theme-ui
^0.6.0-alpha.7
ColorModesScale

file
imports
"./PopoverUtils"
ArrowWrapper
"../ThemeContext"
useTheme