vant
Version:
Mobile UI Components built on Vue
17 lines (16 loc) • 568 B
TypeScript
import type { ComponentPublicInstance } from 'vue';
import type { Numeric } from '../utils';
import type { IndexBarProps } from './IndexBar';
export type IndexBarProvide = {
props: IndexBarProps;
};
export type IndexBarExpose = {
scrollTo: (index: Numeric) => void;
};
export type IndexBarInstance = ComponentPublicInstance<IndexBarProps, IndexBarExpose>;
export type IndexBarThemeVars = {
indexBarSidebarZIndex?: number | string;
indexBarIndexFontSize?: string;
indexBarIndexLineHeight?: number | string;
indexBarIndexActiveColor?: string;
};