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

Prop Description Type
message Current Message Object, used to render blocked text. Message type
style Additional style for the blocked message container. StyleProp<ViewStyle>
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>