# AttachmentRemoveControl

`AttachmentRemoveControl` renders the remove (`X`) control used by upload preview cards.

It is implemented as a themed `Pressable` with a close icon and a larger hit slop for easier tapping.

## Props

`AttachmentRemoveControl` accepts React Native [`PressableProps`](https://reactnative.dev/docs/pressable#props).

### Commonly used

- `onPress`: called to remove/dismiss the preview item.


---

This page was last updated at 2026-04-03T17:24:31.915Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/v9/ui-components/message-composer/components/attachment-preview/attachment-remove-control/](https://getstream.io/chat/docs/sdk/react-native/v9/ui-components/message-composer/components/attachment-preview/attachment-remove-control/).