Function withDeviceAssembly
- withDeviceAssembly<T>(WrappedComponent): ((props) => Element)
Type Parameters
- T extends DeviceAssemblyProps = DeviceAssemblyProps
Parameters
- WrappedComponent: ComponentType<T>
Returns ((props) => Element)
- (props): Element
Parameters
- props: Omit<T, "deviceAssembly">
Returns Element
react HOC to provide a DeviceAssembly to a component