UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

8 lines (7 loc) 208 B
declare const useCardSwipe: (api: any, parse?: boolean) => { code: string | null; error: string | null; read: () => Promise<void>; cancel: () => Promise<void>; }; export default useCardSwipe;