snapshot of https://github.com/excalidraw/excalidraw.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Tests / test (push) Failing after 15s
Some checks failed
Tests / test (push) Failing after 15s
This commit is contained in:
6
packages/excalidraw/context/ui-appState.ts
Normal file
6
packages/excalidraw/context/ui-appState.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
import type { UIAppState } from "../types";
|
||||
|
||||
export const UIAppStateContext = React.createContext<UIAppState>(null!);
|
||||
export const useUIAppState = () => React.useContext(UIAppStateContext);
|
||||
Reference in New Issue
Block a user