Function withSoftwareInfo
- withSoftwareInfo<T>(WrappedComponent): (() => ((props) => Element))
Type Parameters
- T extends SoftwareInfoProps = SoftwareInfoProps
Parameters
- WrappedComponent: ComponentType<T>
Returns (() => ((props) => Element))
- (): ((props) => Element)
Returns ((props) => Element)
- (props): Element
Parameters
- props: Omit<T, "softwareInfo">
Returns Element
react HOC to provide a SoftwareInfo to a component