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
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>