<h3 class="text-lg font-bold">Hello!</h3>
<p class="py-4">Press ESC key or click the button below to close</p>
<.modal_action>
<form method="dialog">
<!-- if there is a button in form, it will close the modal -->
<.button>Close</.button>
</form>
</.modal_action>
|