contacts toolbar: consolidate views and filters into dropdowns
This commit is contained in:
@@ -9,12 +9,14 @@ export interface ToolbarItem {
|
||||
group?: string;
|
||||
disabled?: boolean;
|
||||
active?: boolean;
|
||||
type?: 'button' | 'search' | 'select';
|
||||
type?: 'button' | 'search' | 'select' | 'dropdown';
|
||||
searchPlaceholder?: string;
|
||||
onSearch?: (query: string) => void;
|
||||
selectOptions?: { value: string; label: string }[];
|
||||
selectValue?: string;
|
||||
onSelect?: (value: string) => void;
|
||||
menuOptions?: { value: string; label: string; icon?: React.ReactNode; active?: boolean; onClick: () => void }[];
|
||||
menuWidth?: string;
|
||||
}
|
||||
|
||||
interface PluginToolbarState {
|
||||
|
||||
Reference in New Issue
Block a user