Skip to content

clearVariant ​

Overview ​

Clears a variant for a component with the given name.

Signature ​

clearVariant(componentName, variantName)

Parameters ​

NameTypeRequiredDescription
componentNamestringyesThe name of the component.
variantNamestringyesThe name of the variant to remove.

Returns ​

void

Source ​

client/lib/stores/storeTheme.js:136