> For the complete documentation index, see [llms.txt](https://giorgosart.gitbook.io/react-easy-edit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://giorgosart.gitbook.io/react-easy-edit/examples/enable-the-delete-button.md).

# Enable the Delete button 🔥

There is a third button that's hidden by default on all `EasyEdit` components and that is the **Delete** button which removes the selected component from the DOM. In order to activate it, you will need to set the `hideDeleteButton` prop to **`true`** . You can also change the label of it and add extra CSS classes or a custom React component that you might need for rendering it.

{% embed url="<https://codesandbox.io/s/delete-button-yi3zl?autoresize=1&fontsize=14&hidenavigation=1&theme=dark>" %}
