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

38 lines
836 B
TypeScript
Raw Normal View History

2024-12-01 11:56:54 +00:00
import { IBaseProps } from '../_util/base';
2024-11-10 07:01:22 +00:00
interface ItemObj {
2024-12-01 11:56:54 +00:00
label: string;
disablePreview?: boolean;
2024-11-10 07:01:22 +00:00
}
export interface IndexBarProps extends IBaseProps {
2024-12-01 11:56:54 +00:00
/**
* @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;
2024-11-10 07:01:22 +00:00
}
2024-12-01 11:56:54 +00:00
export declare const IndexBarDefaultProps: Partial<IndexBarProps>;
export {};