UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

15 lines (14 loc) 366 B
import { ReportHandler } from './types.js'; interface FIDPolyfillCallback { (value: number, event: Event): void; } interface FIDPolyfill { onFirstInputDelay: (onReport: FIDPolyfillCallback) => void; } declare global { interface Window { perfMetrics: FIDPolyfill; } } export declare const getFID: (onReport: ReportHandler) => void; export {};