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

Function feedWidgetSizes

packages/shared/src/features/feedWidgets/components.ts:132–133  ·  view source on GitHub ↗
(kind: FeedWidgetKind)

Source from the content-addressed store, hash-verified

130
131/** Sizes a kind supports; none when the widget is not built. */
132export const feedWidgetSizes = (kind: FeedWidgetKind): FeedWidgetSize[] =>
133 feedWidgetComponents[kind] ? feedWidgetRegistry[kind].sizes : [];
134
135/** The kinds a reader can add: built, and allowed for their account. */
136export const availableFeedWidgets = (

Callers 7

FeedWidgetRailFunction · 0.90
FeedWidgetMenuFunction · 0.90
useFeedWidgetsFunction · 0.90
sizeForFootprintFunction · 0.90
maxColsForFunction · 0.90
sizesForFunction · 0.90
sizeForFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected