@cardscan.ai/insurance-cardscan-react
Version:
A library that makes it easy to add health insurance card scanning to any web application
16 lines (15 loc) • 591 B
TypeScript
import { FC, ReactNode, Ref } from "react";
import { IndicatorOptions } from "../types/scanview.types";
import { WebToMobileHandOffConfig } from "../components/ErrorModal/components/WebToMobile/WebToMobile";
type Props = {
successIndicator?: ReactNode;
errorIndicator?: ReactNode;
handleRetryButton: () => void;
frameDivRef: Ref<HTMLDivElement>;
spinnerOptions: IndicatorOptions;
webToMobileHandoffConfig?: WebToMobileHandOffConfig;
cardScanApi?: any;
backsideSupport?: boolean;
};
declare const ScanFrame: FC<Props>;
export default ScanFrame;