(kind: FeedWidgetKind)
| 130 | |
| 131 | /** Sizes a kind supports; none when the widget is not built. */ |
| 132 | export 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. */ |
| 136 | export const availableFeedWidgets = ( |
no outgoing calls
no test coverage detected