import * as React from 'react'; import { ReactNode } from 'react'; import "union-design/lib/tabs/styles/css"; export interface TabsProps { /** * 类型 */ titles?: Array; defaultActiveKey?: string; activeKey?: string; type?: 'line' | 'plain' | 'card' | 'page'; onClose?: () => {}; onChange?: () => {}; onTabClick?: () => {}; tabBarExtraContent?: tabBarExtraContent; panes?: Array; style?: object; } interface titleData { key?: string; text?: ReactNode; } interface tabBarExtraContent { left?: ReactNode; right?: ReactNode; } interface pane { tab?: ReactNode | string; key?: string; closable?: boolean; forceRender?: boolean; content?: ReactNode; } declare const Tabs: React.FC; export default Tabs;