MCPcopy Create free account
hub / github.com/dailydotdev/apps / base

Function base

packages/shared/src/components/shell/ReadingDrawer.tsx:432–432  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

430 moving.forEach((element) => applyStyle(element, props));
431 };
432 const base = () => (layout === 'full' ? current.full : current.card);
433 // The rubber band at the page's top is not the drawer coming down.
434 const restingY = () =>
435 layout === 'full' ? current.full + Math.max(0, window.scrollY) : restY;

Callers 1

presentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected