FileInputPropsinterface
{
types?: FileTypes | undefined;
capture?: FileCapture | undefined;
}| Property | Type | |
|---|---|---|
.types | FileTypes | The file types the picker accepts. |
.capture | FileCapture | Which camera the picker opens straight away. On phones this skips the photo library. |
Props for FileInput, an <input type="file"> that emits the selected File.