MCPcopy Index your code
hub / github.com/JedWatson/react-select / coercePlacement

Function coercePlacement

packages/react-select/src/components/Menu.tsx:276–276  ·  view source on GitHub ↗
(p: MenuPlacement)

Source from the content-addressed store, hash-verified

274 return placement ? placementToCSSProp[placement] : 'bottom';
275}
276const coercePlacement = (p: MenuPlacement) => (p === 'auto' ? 'bottom' : p);
277
278export const menuCSS = <
279 Option,

Callers 2

MenuPlacerFunction · 0.85
MenuPortalFunction · 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…