ImageInputPropsinterface
{
types?: FileTypes | undefined;
capture?: FileCapture | undefined;
}| Property | Type | |
|---|---|---|
.types | FileTypes | The image types the picker accepts. Defaults to IMAGE_TYPES |
.capture | FileCapture | Which camera the picker opens straight away. On phones this skips the photo library. |
Props for <ImageInput>, a square image picker that emits the picked File.