The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/ui > RootThemeProvider
RootThemeProvider() function
Provider to hydrate the context for the Theme
Signature:export declare function RootThemeProvider(
props: StyledComponents.ThemeProviderProps<CustomTheme>
): JSX.Element
Parameters
Parameter | Type | Description |
---|---|---|
props | StyledComponents.ThemeProviderProps<CustomTheme> | A CustomTheme that will be deeply merged with the default Theme, and children |
JSX.Element
Remarks
You probably don't want to use this component directly since it is already used by the core. If you want to override the theme in some plugin, you probably want to use ThemeProvider instead.