Files
hudozka/src/ui/theme/ThemeContext.ts
T
2025-08-25 19:05:44 +03:00

6 lines
211 B
TypeScript

import { createContext } from "react"
import { DEFAULT } from "./const"
import { SetTheme, ThemeOptions } from "./types"
export const ThemeContext = createContext<[ThemeOptions, SetTheme]>([DEFAULT, () => {}])