Function withTranslationContainer
- withTranslationContainer<T>(WrappedComponent): ((props) => Element)
Type Parameters
- T extends TranslationContainerProps = TranslationContainerProps
Parameters
- WrappedComponent: ComponentType<T>
Returns ((props) => Element)
- (props): Element
Parameters
- props: Omit<T, "translationContainer">
Returns Element
react HOC to provide a TranslationContainer to a component