• A component wrapper for useOrientationSync

    Parameters

    Returns undefined | Element

    Remarks

    Render this component when WithOrientationSyncOptions.deep and WithOrientationSyncOptions.deviceLinkId are ready

    Example

    function MyComponent(deep, deviceLinkId) {
    return deep.linkId && deviceLinkId ?
    <WithAccelerationSync deep={deep} deviceLinkId={deviceLinkId} /> :
    null;
    }