tdesign-miniprogram
Version:
tdesign-miniprogram
31 lines (30 loc) • 598 B
TypeScript
export interface TdIndexesProps {
style?: {
type: StringConstructor;
value?: string;
};
indexList?: {
type: ArrayConstructor;
value?: string[] | number[];
};
list?: {
type: ArrayConstructor;
value?: ListItem[];
};
sticky?: {
type: BooleanConstructor;
value?: Boolean;
};
stickyOffset?: {
type: NumberConstructor;
value?: number;
};
}
export interface ListItem {
title: string;
index: string;
children: {
title: string;
[key: string]: any;
}[];
}