@ammarahmed/notifee-react-native
Version:
Notifee - a feature rich notifications library for React Native.
15 lines (14 loc) • 438 B
TypeScript
import { EventEmitter, NativeModulesStatic } from 'react-native';
export interface NativeModuleConfig {
version: string;
nativeModuleName: string;
nativeEvents: string[];
}
export default class NotifeeNativeModule {
private readonly _moduleConfig;
private _nativeModule;
private _nativeEmitter;
constructor(config: NativeModuleConfig);
get emitter(): EventEmitter;
get native(): NativeModulesStatic;
}