@cardscan.ai/insurance-cardscan-react
Version:
A library that makes it easy to add health insurance card scanning to any web application
17 lines (16 loc) • 803 B
TypeScript
import { TCameraOptions } from "../../types/scanview.types";
interface UseCustomWidgetProps {
autoSwitchActiveColor?: string;
autoSwitchInactiveColor?: string;
progressBarColor?: string;
searchingBarColor?: string;
toastBackgroundColor?: string;
toastTextColor?: string;
widgetBackgroundColor?: string;
messageFontSize?: string;
messageTextColor?: string;
messageBackgroundColor?: string;
cameraOptions?: TCameraOptions;
}
declare const useCustomWidget: ({ autoSwitchActiveColor, autoSwitchInactiveColor, cameraOptions, messageBackgroundColor, messageFontSize, messageTextColor, progressBarColor, widgetBackgroundColor, searchingBarColor, toastBackgroundColor, toastTextColor, }: UseCustomWidgetProps) => void;
export default useCustomWidget;