@adyen/adyen-document-viewer
Version:
Adyen Document Viewer
18 lines (17 loc) • 605 B
TypeScript
import { AdyenDocumentViewerOptions, Document } from './types';
export type * from './types';
export default class AdyenDocumentViewer {
private readonly target;
private readonly options;
/**
* Initializes the library
* @param target - The target element (HTMLElement or querySelector string)
* @param options - Configuration options for AdyenDocumentViewer
*/
constructor(target: HTMLElement | string, options?: AdyenDocumentViewerOptions);
/**
* Renders the document
* @param document - The JSON document
*/
render(document: Document): void;
}