check
Code copied to clipboard.
close
menu
menu_open
menu

ThemeContextType

Interface for the current theme in the theme context.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

interface ThemeContextType {

 theme: ThemeState;

 updateTheme: (palette: PaletteState) => Promise<void>;

 updateThemeFromMaster: (

   hexCode: string,

   setPalette: React.Dispatch<React.SetStateAction<PaletteState>>,

 ) => Promise<void>;

 palette: PaletteState;

 setPalette: React.Dispatch<React.SetStateAction<PaletteState>>;

 //todo: why are these here?

 navIsOpen: boolean;

 setNavIsOpen: React.Dispatch<React.SetStateAction<boolean>>;

}

Related Components

Components that use this type.

No items found.

Related Types

Types with similar roles.

No items found.