interface MatchActionsProps {
    match: MangaMatchResult;
    onManualSearch?: (kenmeiManga: KenmeiManga) => void;
    onAcceptMatch?: (match: MangaMatchResult) => void;
    onRejectMatch?: (match: MangaMatchResult) => void;
    onResetToPending?: (match: MangaMatchResult) => void;
    onSelectAlternative?: (
        match: MangaMatchResult,
        alternativeIndex: number,
        autoAccept?: boolean,
        directAccept?: boolean,
    ) => void;
    handleKeyDown: (e: KeyboardEvent, cb: () => void) => void;
}

Properties

onManualSearch?: (kenmeiManga: KenmeiManga) => void
onAcceptMatch?: (match: MangaMatchResult) => void
onRejectMatch?: (match: MangaMatchResult) => void
onResetToPending?: (match: MangaMatchResult) => void
onSelectAlternative?: (
    match: MangaMatchResult,
    alternativeIndex: number,
    autoAccept?: boolean,
    directAccept?: boolean,
) => void
handleKeyDown: (e: KeyboardEvent, cb: () => void) => void