AttachmentRules
Defined in: react/src/attachments.ts:6
Client-side hints only. The host must validate bytes, permissions and limits again.
Properties
Section titled “Properties”accept?
Section titled “accept?”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.
maxFileBytes?
Section titled “maxFileBytes?”optional maxFileBytes?: number;Defined in: react/src/attachments.ts:10
maxFiles?
Section titled “maxFiles?”optional maxFiles?: number;Defined in: react/src/attachments.ts:9