UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

7 lines (6 loc) 556 B
import type { Ref } from 'vue'; import type { CodeReviewProps, IExpandLineNumberInfo } from '../code-review-types'; export declare function useCodeReviewExpand(reviewContentRef: Ref<HTMLElement>, props: CodeReviewProps, updateLineNumberMap: (expandLineNumberInfo: IExpandLineNumberInfo, newCode: string, direction: 'up' | 'down') => void, updateCheckedLine: (expandLineNumberInfo: IExpandLineNumberInfo, direction: 'up' | 'down') => void): { insertExpandButton: () => void; onExpandButtonClick: (e: Event, options: Record<string, any>) => void; };