Wocart

@wocart/theme v4.1.0


@wocart/theme / index / componentsOf

Function: componentsOf()

componentsOf(theme): ComponentDefinition[]

A theme's components as definitions, in its catalog's order — what a test or a tool iterates.

Parameters

theme

Pick<ThemeDefinition, "components">

Returns

ComponentDefinition[]