ActionBar
ActionBar - компонент, сворачивающий кнопки в выпадающий список
Props
actions
interface IItem {
id: number | string;
label: string;
isActive?: boolean;
isDisabled?: boolean;
[key: string]: any;
}
interface IButtonMoreItem extends IItem {
href?: string;
icon?: string;
sub?: string,
newTab?: boolean;
visible?: boolean;
pending?: boolean;
tooltip?: string;
click?: () => void;
}
- type:
IButtonMoreItem[] - default:
[]
Массив с опциями для кнопокa
primaryActionsCount
- type:
number - default:
1
Количество кнопок, которые не будут спрятаны в выпадающий список
buttonMoreLabel
- type:
string - default:
Еще
Название кнопки "Еще"