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

38 lines
836 B
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
import { IBaseProps } from '../_util/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>;
export {};