packageDocumentation module import "./Expander.scss" ; import classnames from "classnames" ; import * as React from "react" ; import { NoChildrenProps , Omit } from "@itwin/core-react" ; import { GroupTool , GroupToolProps } from "./Tool" ; internal export interface GroupToolExpanderProps extends Omit < GroupToolProps , "isActive" | "children" > , NoChildrenProps { } internal export const GroupToolExpander = React . memo < React . FC < GroupToolExpanderProps > > ( ( props ) => { const { className , ... otherProps } = props ; const expanderClassName = classnames ( "components-toolbar-item-expandable-group-tool-expander" , className ) ; return ( < GroupTool className = { expanderClassName } { ... otherProps } > < div className = "components-expansion-indicator" / > < /GroupTool>); } ) ;