Docs (4.0.0)
class UIStyle method

override

Creates a style override object that can be used to apply base styles as well as the specified styles to a UI component.

static

static override<TDefinition>(this: UIStyle.Type<TDefinition>, ...styles: Readonly<TDefinition | undefined>[]): UIStyle.StyleOverrides<TDefinition>

Parameters

  • styles — A list of style definitions to be added to the extended style; these may not include state options (see StyleStateOptions).

Return value

A style override object that can be used to apply the specified styles to a UI component (e.g. UIButton.style)

Related

  • class UIStyleA class that defines a set of styles that can be applied to UI components.