jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/less/Tabs/props.d.ts

41 lines
748 B
TypeScript
Raw Normal View History

2024-11-10 07:01:22 +00:00
import { IBaseProps } from '../_base';
export interface ITabsProps extends IBaseProps {
/**
* @description basic()capsule()mixin()
* @default "basic"
*/
type?: 'basic' | 'capsule' | 'mixin';
/**
* @description tabs方向
*/
direction?: 'horizontal' | 'vertical';
/**
* @description tab
*/
onChange?: (index: number, e: Record<string, any>) => void;
/**
* @description
*/
current: number;
/**
* @description
*/
items: {
title: string;
content: string;
disabled?: boolean;
}[];
/**
*
*/
defaultCurrent?: number;
}
export declare const TabsDefaultProps: Partial<ITabsProps>;