UNPKG

react-native-cccd-dev

Version:

React-native bridge for Vntel cccd SDK

13 lines (12 loc) 473 B
import { NativeModule } from 'react-native'; export declare const VntelEmitter: NativeModule; declare type AndroidEvent = 'MRZ_RESULT_ID_NUMBER'; declare type IOSEvent = 'MRZ_RESULT_ID_NUMBER_EXTRA'; export declare type VntelEvent = AndroidEvent | IOSEvent; declare function onDataChange(fn: (data: { event: VntelEvent; }) => any): import("react-native").EmitterSubscription; declare const _default: { onDataChange: typeof onDataChange; }; export default _default;