• react HOC to provide a TranslationContainer to a component

    Type Parameters

    • T extends TranslationContainerProps = TranslationContainerProps

    Parameters

    • WrappedComponent: ComponentType<T>

    Returns ((props) => Element)

      • (props): Element
      • Parameters

        • props: Omit<T, "translationContainer">

        Returns Element