/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module NavigationAids
 */
import * as React from "react";
import { CubeNavigationAid } from "@itwin/imodel-components-react";
import { NavigationAidControl } from "./NavigationAidControl";
/** Navigation Aid that displays an interactive rotation cube for Spatial views that synchronizes with the rotation of the iModel Viewport
 * @public
 * @deprecated in 4.16.0. Use {@link @itwin/imodel-components-react#CubeNavigationAid} component instead.
 */
// eslint-disable-next-line deprecation/deprecation
export class CubeNavigationAidControl extends NavigationAidControl {
    // eslint-disable-next-line deprecation/deprecation
    constructor(info, options) {
        super(info, options);
        this.reactNode = (React.createElement(CubeNavigationAid, { iModelConnection: options.imodel, viewport: options.viewport }));
    }
    getSize() {
        return "96px";
    }
}
CubeNavigationAidControl.navigationAidId = "CubeNavigationAid";
//# sourceMappingURL=CubeNavigationAidControl.js.map