Skip to content
providerkit
GitHub

AttachmentRules

Defined in: react/src/attachments.ts:6

Client-side hints only. The host must validate bytes, permissions and limits again.

optional accept?: readonly string[];

Defined in: react/src/attachments.ts:8

MIME types, MIME wildcards or extensions, like the native file input’s accept list.


optional maxFileBytes?: number;

Defined in: react/src/attachments.ts:10


optional maxFiles?: number;

Defined in: react/src/attachments.ts:9