InputEditingStateHeader
Component to render a header for the editing state of the MessageInput
.
This is the default component provided to the prop InputEditingStateHeader
on the Channel
component.
#
Propsoverrides the value from ChannelContext disabled#
True if channel is frozen and disableIfFrozenChannel is true.
Type |
---|
boolean |
overrides the value from MessageInputContext clearEditingState#
Function to clear "Editing Message" state from MessageInput component.
Type |
---|
function |
overrides the value from MessageInputContext resetInput
#
Resets the entire MessageInput
component to empty state by clearing the text, attachments etc.
Type |
---|
function |