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 > useRendererTheme
useRendererTheme() function
React Hook for the renderer theming
Signature:export declare function useRendererTheme(): {
renderer: RendererTheme
rendererUi: DeepPartial<RendererUiTheme>
}
Returns:{ renderer: RendererTheme; rendererUi: DeepPartial<RendererUiTheme>; }
An object containing the current renderer theme and renderer UI theme