/**
 * FilterBar 组件类型定义
 */

export interface FilterBarTab {
    key: string;
    label: string;
}

export interface FilterBarProps {
    // Tab 配置
    tabs?: FilterBarTab[];
    activeTab?: string;
    onTabChange?: (key: string) => void;
    
    // 搜索框配置
    searchPlaceholder?: string;
    searchValue?: string;
    onSearchChange?: (value: string) => void;
    onSearch?: (value: string) => void;
    searchWidth?: number | string;
    
    // 加载状态
    loading?: boolean;
    
    // 样式类名
    className?: string;
}
