@coolsoftwaretyler/cool-pdf
Version:
PDF View Component for Expo
13 lines (9 loc) • 390 B
text/typescript
import { NativeModule, requireNativeModule } from 'expo';
import { CoolPdfModuleEvents } from './CoolPdf.types';
declare class CoolPdfModule extends NativeModule<CoolPdfModuleEvents> {
PI: number;
hello(): string;
setValueAsync(value: string): Promise<void>;
}
// This call loads the native module object from the JSI.
export default requireNativeModule<CoolPdfModule>('CoolPdf');