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 > useEditorTheme
useEditorTheme() function
React Hook for the editor theming
Signature:export declare function useEditorTheme(): {
editor: EditorTheme
editorUi: DeepPartial<EditorUiTheme>
}
Returns:{ editor: EditorTheme; editorUi: DeepPartial<EditorUiTheme>; }
An object containing the current editor theme and editor UI theme