ToolUtilities Namespace

Utilities related to ($@itwin/core-frontend#Tool$refLinkSource=imodel-components-react/ui/imodel-components-react/src/imodel-components-react/ToolUtilities.ts@20) class.

Function

Name Description
ToolUtilities.defineIcon Defines an icon property for a specified ($@itwin/core-frontend#ToolType$refLinkSource=imodel-components-react/ui/imodel-components-react/src/imodel-components-react/ToolUtilities.ts@20).
ToolUtilities.isWithIcon Type guard for a ($@itwin/core-frontend#ToolType$refLinkSource=imodel-components-react/ui/imodel-components-react/src/imodel-components-react/ToolUtilities.ts@20) with an iconElement property.

Defined in

Last Updated: 17 December, 2024