Function: UiThemeProvider()

UiThemeProvider(__namedParameters): Element

Applies library theme variables to a local subtree and supports built-in, system, and custom named themes.

Parameters

__namedParameters

UiThemeProviderProps

Returns

Element

Example

<UiThemeProvider theme="dark">
  <Button>Inspect</Button>
</UiThemeProvider>