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

5 lines
240 B
TypeScript

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]);