• react HOC to provide a IngredientContainer to a component

    Type Parameters

    • T extends IngredientContainerProps = IngredientContainerProps

    Parameters

    • WrappedComponent: ComponentType<T>

    Returns ((props) => Element)

      • (props): Element
      • Parameters

        • props: Omit<T, "ingredientContainer">

        Returns Element