Function withTroubleContainer
- withTroubleContainer<T>(WrappedComponent): ((props) => Element)
Type Parameters
- T extends TroubleContainerProps = TroubleContainerProps
Parameters
- WrappedComponent: ComponentType<T>
Returns ((props) => Element)
- (props): Element
Parameters
- props: Omit<T, "troubleContainer">
Returns Element
react HOC to provide a BoardContainer to a component