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.
#
Propsoverrides the value from ChannelContext disabled#
True if channel is frozen and disableIfFrozenChannel is true.
Type |
---|
boolean |
#
handleOnPressonPress
handler for this button.
Type |
---|
function |
overrides the value from AttachmentPickerContext 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 |