MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / fn

Function fn

console/src/theme/components/Popover.ts:20–28  ·  view source on GitHub ↗
({ state }: ModifierArguments<Record<string, never>>)

Source from the content-addressed store, hash-verified

18 phase: "beforeWrite" as const,
19 requires: ["maxSize"],
20 fn({ state }: ModifierArguments<Record<string, never>>) {
21 const { width, height } = state.modifiersData.maxSize;
22
23 state.styles.popper = {
24 ...state.styles.popper,
25 maxWidth: `${width}px`,
26 maxHeight: `${height}px`,
27 };
28 },
29};
30
31/**

Callers 10

waitForFunction · 0.85
alignFunction · 0.85
workflow_plotFunction · 0.85
runFunction · 0.85
retryFunction · 0.85
workflow_defaultFunction · 0.85
run_with_retriesFunction · 0.85
ingestFunction · 0.85
get_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected