This commit is contained in:
2026-11-21 22:57:24 +08:00
commit 4bce6dd47e
209 changed files with 11072 additions and 0 deletions
@@ -0,0 +1,11 @@
import { createContext, useContext } from "react";
export type MenuContextValue = { size?: "sm" | "md" } | null;
export const MenuContext = createContext<MenuContextValue>(null);
export function useMenuContext() {
const menuContext = useContext(MenuContext);
return menuContext;
}