Function withIngredientContainer
- withIngredientContainer<T>(WrappedComponent): ((props) => Element)
Type Parameters
- T extends IngredientContainerProps = IngredientContainerProps
Parameters
- WrappedComponent: ComponentType<T>
Returns ((props) => Element)
- (props): Element
Parameters
- props: Omit<T, "ingredientContainer">
Returns Element
react HOC to provide a IngredientContainer to a component