Files

38 lines
836 B
TypeScript
Raw Permalink Normal View History

2025-08-18 09:11:51 +08: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 {};