customize the Toolbar component

interface ToolbarOptions {
    controls?: ToolbarControl[];
    enabled?: boolean;
    numberOfIcons?: number;
}

Properties

controls?: ToolbarControl[]

toolbar controls which will be displayed following the array order

enabled?: boolean

is the toolbar visible or not

numberOfIcons?: number

the maximum toolbar controls to be displayed as icons controls more than this number will appear in the overflow menu minimum is 1. (all toolbar controls are in overflow menu)