1
Fork 0
mirror of https://github.com/Steffo99/steffoweb.git synced 2024-11-25 09:34:31 +00:00
steffoweb/components/ThemeContext.ts

6 lines
240 B
TypeScript
Raw Normal View History

2022-02-19 02:29:14 +00:00
import * as React from "react"
import { BluelibTheme } from "@steffo/bluelib-react/dist/types"
export const ThemeContext = React.createContext<[BluelibTheme, React.Dispatch<React.SetStateAction<BluelibTheme>>]>(["royalblue", undefined]);