This is documentation for Stream Chat React Native SDK v5, 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.