UNPKG

568 BTypeScriptView Raw
1import type { ComponentPublicInstance } from 'vue';
2import type { Numeric } from '../utils';
3import type { IndexBarProps } from './IndexBar';
4export type IndexBarProvide = {
5 props: IndexBarProps;
6};
7export type IndexBarExpose = {
8 scrollTo: (index: Numeric) => void;
9};
10export type IndexBarInstance = ComponentPublicInstance<IndexBarProps, IndexBarExpose>;
11export type IndexBarThemeVars = {
12 indexBarSidebarZIndex?: number | string;
13 indexBarIndexFontSize?: string;
14 indexBarIndexLineHeight?: number | string;
15 indexBarIndexActiveColor?: string;
16};