This is documentation for Stream Chat React Native SDK v4, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v6).

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

disabled

True if channel is frozen and disableIfFrozenChannel is true.

Type
boolean

clearEditingState

Function to clear “Editing Message” state from MessageInput component.

Type
function

resetInput

Resets the entire MessageInput component to empty state by clearing the text, attachments etc.

Type
function

© Getstream.io, Inc. All Rights Reserved.