MessageBlocked

Renders a blocked message inside MessageList. This is the default component for the MessageBlocked prop in Channel component.

Best Practices

  • Keep blocked-message UI neutral and low-noise.
  • Preserve the default uppercase treatment if moderation labels must be visually distinct.
  • Prefer theme overrides for styling before replacing the component.
  • Keep layout lightweight to avoid extra list row work.
  • Pass a stable style object when customizing to reduce re-renders.

Props

PropDescriptionType
messageCurrent Message Object, used to render blocked text.Message type
styleAdditional style for the blocked message container.ViewStyle