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

39 lines
767 B
TypeScript
Raw Normal View History

2024-11-10 07:01:22 +00:00
import { IBaseProps } from '../_base';
interface ItemObj {
label: string,
disablePreview?: boolean
}
export interface IndexBarProps extends IBaseProps {
/**
* @description
*/
activeClassName?: string,
/**
* @description
*/
defaultCurrent?: string,
/**
* @description
*/
current?: string,
/**
* @description
*/
vibrate?: boolean,
/**
* @description
*/
items: ItemObj[],
/**
* @description
*/
size?: number,
/**
* @description
*/
onChange?: (value: ItemObj, index: number) => void,
}
export declare const IndexBarDefaultProps: Partial<IndexBarProps>;