51 lines
1.9 KiB
TypeScript
51 lines
1.9 KiB
TypeScript
import { IndexBarProps } from './IndexBar';
|
|
export declare const IndexBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
sticky: {
|
|
type: BooleanConstructor;
|
|
default: true;
|
|
};
|
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
highlightColor: StringConstructor;
|
|
stickyOffsetTop: {
|
|
type: NumberConstructor;
|
|
default: number;
|
|
};
|
|
indexList: {
|
|
type: import("vue").PropType<import("../utils").Numeric[]>;
|
|
default: () => string[];
|
|
};
|
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
sticky: {
|
|
type: BooleanConstructor;
|
|
default: true;
|
|
};
|
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
highlightColor: StringConstructor;
|
|
stickyOffsetTop: {
|
|
type: NumberConstructor;
|
|
default: number;
|
|
};
|
|
indexList: {
|
|
type: import("vue").PropType<import("../utils").Numeric[]>;
|
|
default: () => string[];
|
|
};
|
|
}>> & {
|
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
}, {
|
|
sticky: boolean;
|
|
stickyOffsetTop: number;
|
|
indexList: import("../utils").Numeric[];
|
|
}>>;
|
|
export default IndexBar;
|
|
export { indexBarProps } from './IndexBar';
|
|
export type { IndexBarProps };
|
|
export type { IndexBarInstance, IndexBarThemeVars } from './types';
|
|
declare module 'vue' {
|
|
interface GlobalComponents {
|
|
VanIndexBar: typeof IndexBar;
|
|
}
|
|
}
|