tuil
ReferencePackages@mwillbanks/tuil-themeAPI

ThemeProvider

function exported by @mwillbanks/tuil-theme.

View rawEdit

function

Public function exported by @mwillbanks/tuil-theme.

export function ThemeProvider(props: {
  readonly theme: Theme | ThemeFactory | ThemeController;
  readonly children?: ReactNode;
}): ReactNode;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
props{ readonly theme: Theme | ThemeFactory | ThemeController; readonly children?: ReactNode; }YesSupplies the props value as { readonly theme: Theme | ThemeFactory | ThemeController; readonly children?: ReactNode; }.Theme, ThemeController, ThemeFactory

Returns

ReactNode — Returns a value that satisfies ReactNode.

Related types: —

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-theme

On this page