UNPKG

react-native-image-keyboard

Version:

Enables clipboard image pasting and GIFs from TextInput.

16 lines (13 loc) 374 B
import { NativeSyntheticEvent } from "react-native"; declare module "react-native" { type ImageChangeEventData = { uri: string; data: string; linkUri?: string | null; mime?: string | null; }; type ImageChangeEvent = NativeSyntheticEvent<ImageChangeEventData>; interface TextInputProps { onImageChange?: (event: ImageChangeEvent) => void; } }