UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

8 lines (6 loc) 240 B
import type { Alepha } from "alepha"; import { createContext } from "react"; /** * React context to provide the Alepha instance throughout the component tree. */ export const AlephaContext = createContext<Alepha | undefined>(undefined);