naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
14 lines (13 loc) • 487 B
TypeScript
import type { PropType, Ref } from 'vue';
export declare const layoutSiderInjectionKey: import("vue").InjectionKey<{
collapsedRef: Ref<boolean>;
collapseModeRef: Ref<"transform" | "width">;
}>;
export declare const positionProp: {
readonly type: PropType<"static" | "absolute">;
readonly default: "static";
};
export interface LayoutInst {
scrollTo: ((options: ScrollToOptions) => void) & ((x: number, y: number) => void);
}
export type LayoutSiderInst = LayoutInst;