> 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/preventing-edit.md).

# Preventing Edit

In order to create an `EasyEdit` component and prevent users from editing it, you simply just pass in the prop `allowEdit={false}`

{% embed url="<https://codesandbox.io/s/prevent-edit-ob06m?codemirror=1&fontsize=14&hidenavigation=1&theme=dark&view=split>" %}
