Remove variable modes
style.removeVariableModes(props, options)
Remove multiple variable modes from a style. Each variable mode is associated with a variable collection. To remove multiple variable modes, provide an array of variable mode objects.
Syntax
Parameters
modes
: Array<VariableMode> - An array of variable modes to remove.options?
: BreakpointAndPseudo - The breakpoint and pseudo state for the style.
Returns
Promise<null
>
A Promise that resolves to null
.