1.0.3 • Published 8 months ago

kyc_document_capture v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

If you are using react add this to your type declaration file

// index.d.ts
declare global {
  namespace JSX {
    interface IntrinsicElements {
      "smart-camera-web": React.DetailedHTMLProps<
        React.HTMLAttributes<HTMLElement> &
          Partial<{
            "hide-back-to-host": boolean;
            "show-navigation": boolean;
            "show-attribution": boolean;
            "capture-id": boolean | "back";
            "document-capture-modes": Array<"camera" | "upload">;
            "only-document": boolean;
            "document-type": boolean | "GREEN_BOOK";
            "show-thanks": boolean;
          }>,
        HTMLElement
      >;
    }
  }
}

How to use

import type {} from "kyc_document_capture";
import "kyc_document_capture";

Events

  • imagesComputed
  • captureComplete
  • close
  • backExit

Attributes

  • hide-back-to-host
  • show-navigation
  • show-attribution
  • capture-id
  • document-capture-modes
  • only-document
  • document-type
  • show-thanks
1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago