UNPKG

@itwin/geo-tools-react

Version:
31 lines 1.45 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ Object.defineProperty(exports, "__esModule", { value: true }); exports.GeoToolsItemDef = void 0; /** @packageDocumentation * @module Tools */ const React = require("react"); const appui_react_1 = require("@itwin/appui-react"); const GeoAddressSearch_1 = require("./components/GeoAddressSearch"); const itwinui_icons_react_1 = require("@itwin/itwinui-icons-react"); const GeoTools_1 = require("./GeoTools"); /** Utility Class that provides definitions of tools. These definitions can be used to populate the UI. * @public */ // istanbul ignore next class GeoToolsItemDef { static get geoAddressSearchButtonItemDef() { return appui_react_1.ToolbarItemUtilities.createCustomItem({ id: "geo-tools:geoAddressSearch", icon: React.createElement(itwinui_icons_react_1.SvgGeosearch, null), label: GeoTools_1.GeoTools.translate("geoAddressSearch.label"), panelContent: React.createElement(GeoAddressSearch_1.GeoAddressSearch, null), }); } } exports.GeoToolsItemDef = GeoToolsItemDef; //# sourceMappingURL=GeoToolsItemDef.js.map