/*---------------------------------------------------------------------------------------------
 * 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
 */
class CubeNavigationAidControl extends NavigationAidControl {
    constructor(info, options) {
        super(info, options);
        this.reactNode = (React.createElement(CubeNavigationAid, { iModelConnection: options.imodel, viewport: options.viewport }));
    }
    // istanbul ignore next
    getSize() {
        return "96px";
    }
}
CubeNavigationAidControl.navigationAidId = "CubeNavigationAid";
export { CubeNavigationAidControl };
//# sourceMappingURL=CubeNavigationAidControl.js.map