function Example() { const [showModal, setShowModal] = React.useState(false); return ( <> { setShowModal(false); }} > Delete blog post Are you sure you want to delete this post? This action cannot be undone. ); }