react-native-screen-capture/index.js
2023-01-02 01:13:48 +03:00

8 lines
250 B
JavaScript

// main index.js
import { NativeModules, NativeEventEmitter, } from 'react-native';
export const { ScreenCapture } = NativeModules;
export const disallowScreenshot = ScreenCapture.disallowScreenshot
export const keepAwake = ScreenCapture.keepAwake