import * as React from 'react'; import './style/index.less'; export declare type TabsType = 'line' | 'card' | 'editable-card' | 'section' | 'borderless-section' | 'highlighted-section'; export declare type TabsPosition = 'top' | 'right' | 'bottom' | 'left'; export interface TabsProps { activeKey?: string; animated?: boolean | { inkBar: boolean; tabPane: boolean; }; className?: string; defaultActiveKey?: string; hideAdd?: boolean; loading?: boolean; prefixCls?: string; size?: 'large' | 'default' | 'small'; style?: React.CSSProperties; tabBarExtraContent?: React.ReactNode | null; tabBarStyle?: React.CSSProperties; tabBarGutter?: number; type?: TabsType; tabPosition?: TabsPosition; onEdit?: (targetKey: string | React.MouseEvent, action: any) => void; onChange?: (activeKey: string) => void; onTabClick?: Function; onPrevClick?: React.MouseEventHandler; onNextClick?: React.MouseEventHandler; } export interface TabPaneProps { /** 选项卡头显示文字 */ tab?: React.ReactNode | string; style?: React.CSSProperties; closable?: boolean; className?: string; disabled?: boolean; forceRender?: boolean; } declare type TabsFuncType = React.FC & { TabPane: React.ClassicComponentClass; }; declare const Tabs: TabsFuncType; export default Tabs;