Rxova
Skip to content

FileEntryState

State handed to the renderFile render prop.

disabled: boolean;

file: File;

FileEntry.file


index: number;

key: string;

Stable across renders for the same file — safe as a React key.

FileEntry.key


optional preview?: string;

An object URL for an image, or undefined. Created lazily and revoked automatically when the file is removed or the component unmounts.

FileEntry.preview


readOnly: boolean;

size: string;

Human-readable size, e.g. 1.2 MB.