• react HOC to provide a Nozzle to a component

    Type Parameters

    • T extends NozzleProps = NozzleProps

    Parameters

    • path: string
    • WrappedComponent: ComponentType<T>

    Returns ((props) => Element)

      • (props): Element
      • Parameters

        • props: Omit<T, "nozzle">

        Returns Element