API Reference > ui-ninezone > Widget > ToolSettingsProps ToolSettingsProps Interface Beta Properties of ToolSettings component. Extends CommonProps Properties Name Type Description buttons undefined | React.ReactNode Title bar buttons. children undefined | React.ReactNode Tool settings content or content container. contentRef undefined | React.Ref<HTMLDivElement> Content ref of this widget. fillZone undefined | false | true Describes if the widget should fill the zone. lastPosition undefined | PointProps Last pointer position of draggable tab. onDrag undefined | (dragged: PointProps) => void Function called when widget is dragged. onDragEnd undefined | () => void Function called when widget drag action is finished. onDragStart undefined | (initialPosition: PointProps) => void Function called when widget drag action is started. onMouseEnter undefined | (event: MouseEvent<HTMLElement, MouseEvent>) => void Handler for mouse enter onMouseLeave undefined | (event: MouseEvent<HTMLDivElement, MouseEvent>) => void Handler for mouse leave onResize undefined | (resizeBy: number, handle: ResizeHandle) => void Function called when resize action is performed. title undefined | string Tool settings title bar title. Inherited properties Name Type Inherited from Description className undefined | string ClassNameProps Custom CSS class name style undefined | React.CSSProperties CommonProps Custom CSS style properties Defined in ui/ninezone/src/ui-ninezone/widget/ToolSettings.tsx Line 21 Last Updated: 13 June, 2024