import type { CLASSES } from './vars'; import type { BaseProps, Size } from '../types'; export {}; export interface TabsRef { updateIndicator: () => void; } export interface TabsItem { id: ID; title: React.ReactNode; panel: React.ReactNode; dropdownRender?: React.ReactNode; closable?: boolean; disabled?: boolean; } export interface TabsProps> extends BaseProps<'tabs', typeof CLASSES>, Omit, 'children'> { ref?: React.Ref; list: T[]; active?: ID; defaultActive?: ID; pattern?: 'wrap' | 'slider'; placement?: 'top' | 'right' | 'bottom' | 'left'; center?: boolean; size?: Size; addible?: boolean; lazyLoading?: boolean; onActiveChange?: (id: ID, origin: T) => void; onAddClick?: () => void; onClose?: (id: ID, origin: T) => void; }