created:4/29/2021
updated:5/7/2021
loc
81
comments
7%
passed
10
coverage
17%
Popover
Popover container that is triggered by a click/hover event, using react-popper-tooltip.
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) |
12 commits
package | imports | peer |
---|---|---|
@theme-ui/css ^0.8.4 | get | |
react ^17.0.1 | ReactFC | * |
react-popper-tooltip ^17.0.1 | TooltipTrigger | * |
TooltipTriggerPropsChildrenArg | * | |
theme-ui ^0.8.4 | ColorModesScale |
file | imports |
---|---|
"./PopoverUtils" | ArrowWrapper |
"../ThemeContext" | useTheme |