UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

10 lines (9 loc) 395 B
import type { InjectionKey, Ref } from 'vue'; export interface HoverContextProps { startRow: Ref<number>; endRow: Ref<number>; onHover: (start: number, end: number) => void; } export declare const HoverContextKey: InjectionKey<HoverContextProps>; export declare const useProvideHover: (props: HoverContextProps) => void; export declare const useInjectHover: () => HoverContextProps;