MCPcopy Index your code
hub / github.com/react-bootstrap/react-bootstrap / getInitialPopperStyles

Function getInitialPopperStyles

src/getInitialPopperStyles.ts:1–11  ·  view source on GitHub ↗
(
  position: React.CSSProperties['position'] = 'absolute',
)

Source from the content-addressed store, hash-verified

1export default function getInitialPopperStyles(
2 position: React.CSSProperties['position'] = 'absolute',
3): Partial<React.CSSProperties> {
4 return {
5 position,
6 top: '0',
7 left: '0',
8 opacity: '0',
9 pointerEvents: 'none',
10 };
11}

Callers 3

Popover.tsxFile · 0.85
Tooltip.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…