Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

window-hinge-context.ts

5 lines261 Bytes

1import { createContext } from "react";
2import type { VerticalHinge } from "../lib/layout";
3​
4/** A creased vertical hinge in window coordinates, for overlays placed in window space. */
5export const WindowHingeContext = createContext<VerticalHinge | null>(null);