Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / FileUploadProps

Interface: FileUploadProps

Defined in: flow/src/components.ts:1011

Props for FileUpload: the bind target plus multiple, accept and label.

Indexable

[key: string]: unknown

Properties

bind

bind: unknown

Defined in: flow/src/components.ts:1013

Bound

Expose

property — receives the TemporaryUploadedFile (or array).


multiple?

optional multiple?: boolean

Defined in: flow/src/components.ts:1014


accept?

optional accept?: string

Defined in: flow/src/components.ts:1015


label?

optional label?: string

Defined in: flow/src/components.ts:1016


class?

optional class?: string

Defined in: flow/src/components.ts:1017


children?

optional children?: unknown

Defined in: flow/src/components.ts:1019

Rendered below the dropzone — e.g. a preview/filename of the current value.