/// import { BaseInterface } from '../Base'; export interface SelectToolbarInterface { selected: number; handleDeleteSelected: (e: React.MouseEvent) => void; } export interface ToolbarInterface extends BaseInterface { items?: any[]; onDeleteSelected?: (e: React.MouseEvent) => void; onSwitchView?: (e: React.MouseEvent, { id }: { id: string; }) => void; toolbar?: any[]; selectToolbar: (props: SelectToolbarInterface) => JSX.Element; }