UNPKG

@sourcetoad/react-native-sketch-canvas

Version:

react-native-sketch-canvas allows you to draw / sketch on both iOS and Android devices and sync the drawing data between users. Of course you can save as image.

14 lines (11 loc) 379 B
import type { TurboModule } from 'react-native'; import { TurboModuleRegistry } from 'react-native'; export interface Spec extends TurboModule { getConstants: () => { MainBundlePath: string; NSDocumentDirectory: string; NSLibraryDirectory: string; NSCachesDirectory: string; }; } export default TurboModuleRegistry.getEnforcing<Spec>('SketchCanvasModule');