Skip to content

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

Prop Description Type
disabled Disables the attach button. boolean
handleOnPress Custom press handler. ((event: GestureResponderEvent) => void) & (() => void)
handleAttachButtonPress Callback for custom attach-button behavior. () => void
toggleAttachmentPicker Toggle attachment picker visibility. () => void