UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

10 lines (9 loc) 379 B
import type { SetupContext, Ref } from 'vue'; import type { DiffFile } from 'diff2html/lib/types'; import type { CodeReviewProps } from '../code-review-types'; export declare function useCodeReview(props: CodeReviewProps, ctx: SetupContext): { renderHtml: Ref<string>; reviewContentRef: Ref<any>; diffFile: Ref<DiffFile[]>; onContentClick: (e: Event) => void; };