File

A React Native File object used to send files

interface File {
    uri: string;
    fileName?: string;
    type: string;
}

Properties

FieldTypeStateDescription

uri

string

required

the uri to the file

fileName

string

optional

the name of the file

type

string

required

the file type i.e image/jpeg

Last updated