"use client" import { createContext } from "../create-context" import type { RecipeProps } from "./generated/recipes.gen" import type { RecipeKey } from "./use-recipe" import type { SlotRecipeKey } from "./use-slot-recipe" const [RecipePropsContextProvider, useParentRecipeProps] = createContext< RecipeProps >({ name: "RecipePropsContext", strict: false, }) interface Props { children: React.ReactNode value: RecipeProps } function RecipePropsProvider( props: Props, ) { return ( {props.children} ) } export { RecipePropsProvider, useParentRecipeProps }