ReactionListItemWrapper
ReactionListItemWrapper is the shared pressable wrapper used by reaction list items.
Best Practices
- Use this wrapper to keep reaction interaction states consistent.
- Prefer style overrides over replacing pressed/selected state logic.
- Keep custom styles additive to preserve spacing and border radius.
- Ensure press targets remain large enough for accessibility.
- Avoid adding heavy children that increase layout cost.
Props
| Prop | Description | Type |
|---|---|---|
selected | Whether to render the selected visual state. Defaults to false. | boolean |
style | Additional style for the inner container. | StyleProp<ViewStyle> |
PressableProps | All standard React Native Pressable props are supported (for example onPress, onLongPress, disabled, and accessibility props). |