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
styleobject 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. | ViewStyle |