import React from 'react'; import './index.scss'; export interface IRsTabProps { /** * 设计态还是浏览态 设计态是design 浏览态为空 */ __designMode?: string; /** * 样式 */ style?: object; value: any[]; items: any[]; children: any[]; contentPadding: string; tabBarGutter?: number; rs_id: string; /** *形态 */ shape: string; /** *滑动方式 */ excessMode: string; /** *切换 销毁 */ switchToDestruction: boolean; /** *延迟加载 */ lazyLoad: boolean; /** * 添加 onChange 回调 */ onChange?: (value: string) => void; onTabClick?: (activeKey: string, e: React.KeyboardEvent | React.MouseEvent) => void; onTabScroll?: (info: { direction: 'left' | 'right' | 'top' | 'bottom'; }) => void; } declare const RsTab: { (props: IRsTabProps): JSX.Element; TabPane: (props: any) => JSX.Element; displayName: string; componentName: string; }; export default RsTab;