Preparing search index...
The search index is not available
KOS UI SDK
KOS UI SDK
KOS UI SDK - Documentation
withDevice
Function withDevice
with
Device
<
T
>
(
WrappedComponent
)
:
(
(
props
)
=>
Element
)
react HOC to provide a Device to a component
Type Parameters
T
extends
DeviceProps
=
DeviceProps
Parameters
WrappedComponent
:
ComponentType
<
T
>
Returns
(
(
props
)
=>
Element
)
(
props
)
:
Element
Parameters
props
:
Omit
<
T
,
"device"
>
Returns
Element
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
KOS UI SDK
Loading...
react HOC to provide a Device to a component