This is documentation for
Stream Chat React Native SDK v5, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v8).
AttachButton
Component to render a button to open the attachment picker, within the MessageInput
.
This is the default component provided to the prop AttachButton
on the Channel
component.
Props
disabled
True if channel is frozen and disableIfFrozenChannel is true.
Type |
---|
Boolean |
handleOnPress
onPress
handler for this button.
Type |
---|
function |
selectedPicker
Value is images
(string), when image attachment picker is open. Value will be undefined
if file picker is active or file picker is open.
Type |
---|
’images’ | undefined |
- I'm working with the Stream Chat React Native SDK and would like to ask questions about this documentation page: https://getstream.io/chat/docs/sdk/react-native/v5/ui-components/attach-button.md
- View as markdown
- Open in ChatGPT
- Open in Claude
On this page: