toolbar: unified filter+sort dropdown with sections, fixed positioning, iconOnly support
This commit is contained in:
@@ -15,8 +15,9 @@ export interface ToolbarItem {
|
||||
selectOptions?: { value: string; label: string }[];
|
||||
selectValue?: string;
|
||||
onSelect?: (value: string) => void;
|
||||
menuOptions?: { value: string; label: string; icon?: React.ReactNode; active?: boolean; onClick: () => void }[];
|
||||
menuOptions?: { value: string; label: string; icon?: React.ReactNode; active?: boolean; onClick: () => void; section?: string; separator?: boolean; disabled?: boolean }[];
|
||||
menuWidth?: string;
|
||||
iconOnly?: boolean;
|
||||
}
|
||||
|
||||
interface PluginToolbarState {
|
||||
|
||||
Reference in New Issue
Block a user