(kind: FeedWidgetKind)
| 139 | |
| 140 | /** Sizes a kind supports; none when the widget is not built. */ |
| 141 | export const feedWidgetSizes = (kind: FeedWidgetKind): FeedWidgetSize[] => |
| 142 | feedWidgetComponents[kind] ? feedWidgetRegistry[kind].sizes : []; |
| 143 | |
| 144 | /** The kinds a reader can add: built, and allowed for their account. */ |
| 145 | export const availableFeedWidgets = ( |
no outgoing calls
no test coverage detected