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.
Props
overrides 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 |