jb-payment-input-react
Version:
payment input react component
4 lines (3 loc) • 314 B
TypeScript
/// <reference types="react" />
export declare function useEvent(dom: HTMLElement, event: any, handler: any, passive?: boolean): void;
export declare function useBindEvent<TRef extends React.MutableRefObject<any | null>, TEvent>(ref: TRef, event: string, handler: (e: TEvent) => void, passive?: boolean): void;