AttachButton

AttachButton renders the attachment trigger in MessageComposer.

Internally it toggles the attachment picker and can focus the input when closing a selected picker.

Props

PropDescriptionType
disabledDisables the attach button.boolean
handleOnPressCustom press handler.((event: GestureResponderEvent) => void) & (() => void)
handleAttachButtonPressCallback for custom attach-button behavior.() => void
toggleAttachmentPickerToggle attachment picker visibility.() => void