UNPKG

@noripi10/expo-pencilkit

Version:
16 lines (12 loc) 339 B
import { ViewComponent, ViewProps } from 'react-native'; export type ExpoPencilkitViewProps = { imageData?: string; } & ViewProps; type ClearDrawProps = { force: boolean; }; export type ExpePencilKitViewMethods = { clearDraw: (props?: ClearDrawProps) => Promise<void>; undo: () => Promise<void>; redo: () => Promise<void>; };