123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import { IBaseProps } from '../_util/base';
- export interface ITabsProps extends IBaseProps {
-
- type: 'basic' | 'capsule' | 'mixin';
-
- direction: 'horizontal' | 'vertical';
-
- onChange: (index: number, e: Record<string, any>) => void;
-
- current: number;
-
- items: {
- title: string;
- content: string;
- disabled?: boolean;
- subTitle?: string;
- }[];
-
- defaultCurrent: number;
-
- scrollMode: 'edge' | 'center';
-
- tabsBarClassName?: string;
-
- tabClassName?: string;
-
- tabActiveClassName?: string;
- }
- export declare const TabsDefaultProps: Partial<ITabsProps>;
- export declare const TabsFunctionalProps: Partial<ITabsProps>;
|