Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexkatz/react-tiny-popover
/ functions
Functions
16 in github.com/alexkatz/react-tiny-popover
⨍
Functions
16
◇
Types & classes
1
↓ 4 callers
Function
createRect
({ top, left, width, height }: CreateRectProps)
src/util.ts:19
↓ 2 callers
Function
useElementRef
({ containerClassName, containerStyle }: CreateContainerProps)
src/useElementRef.ts:4
↓ 1 callers
Function
createContainer
({ containerStyle, containerClassName }: CreateContainerProps)
src/util.ts:42
↓ 1 callers
Function
getNewPopoverRect
( { position, align, childRect, popoverRect, boundaryRect, padding, reposition,
src/util.ts:118
↓ 1 callers
Function
getNudgedPopoverRect
( popoverRect: Rect, boundaryRect: Rect, boundaryInset: number, )
src/util.ts:145
↓ 1 callers
Function
popoverRectForPosition
( position: PopoverPosition, childRect: Rect, popoverRect: Rect, padding: number, align: PopoverAlig
src/util.ts:49
↓ 1 callers
Function
rectsAreEqual
(rectA: Rect, rectB: Rect)
src/util.ts:28
↓ 1 callers
Function
renderChild
()
src/Popover.tsx:224
↓ 1 callers
Function
renderPopover
()
src/Popover.tsx:226
↓ 1 callers
Function
updatePopover
()
src/Popover.tsx:99
↓ 1 callers
Function
useArrowContainer
({ childRect, popoverRect, position, arrowSize, arrowColor, }: UseArrowContainerProps)
src/useArrowContainer.ts:4
↓ 1 callers
Function
useHandlePrevValues
(props: Partial<PopoverProps>)
src/useHandlePrevValues.ts:4
↓ 1 callers
Function
useMemoizedArray
(externalArray: T[])
src/useMemoizedArray.ts:3
↓ 1 callers
Function
usePopover
({ isOpen, childRef, positions, containerClassName, parentElement, transform, transformMode, a
src/usePopover.ts:28
Function
ArrowContainer
({ childRect, popoverRect, position, arrowColor, arrowSize, arrowClassName, arrowStyle: external
src/ArrowContainer.tsx:5
Function
PopoverPortal
({ container, element, scoutElement, children, }: PopoverPortalProps)
src/PopoverPortal.tsx:11