build(react): build26 from 45504a2b

This commit is contained in:
publish
2026-08-05 18:57:47 +02:00
commit 784a38389b
1955 changed files with 60543 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
"use client";
import { createContext, useContext } from "react";
//#region src/ui/controls/context.tsx
const ControlsContext = createContext(null);
const ControlsContextProvider = ControlsContext.Provider;
function useControlsContext() {
const ctx = useContext(ControlsContext);
if (!ctx) throw new Error("Controls compound components must be used within a Controls.Root");
return ctx;
}
function useOptionalControlsContext() {
return useContext(ControlsContext);
}
//#endregion
export { ControlsContextProvider, useControlsContext, useOptionalControlsContext };
//# sourceMappingURL=context.js.map