This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8) .

AttachButton

AttachButton renders the attachment trigger in MessageInput.

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

Props

disabled

Type
boolean

handleOnPress

Custom press handler.

Type
((event: GestureResponderEvent) => void) & (() => void)

handleAttachButtonPress

Callback for custom attach-button behavior.

Type
() => void

toggleAttachmentPicker

Toggle attachment picker visibility.

Type
() => void