diff --git a/docs/components/modal/examples/ModalExample.vue b/docs/components/modal/examples/ModalExample.vue index df2b134..c354d8f 100644 --- a/docs/components/modal/examples/ModalExample.vue +++ b/docs/components/modal/examples/ModalExample.vue @@ -6,7 +6,18 @@ Show Modal - + diff --git a/docs/components/modal/modal.md b/docs/components/modal/modal.md index 38a79c0..cf3b674 100644 --- a/docs/components/modal/modal.md +++ b/docs/components/modal/modal.md @@ -18,7 +18,18 @@ import { Modal } from 'flowbite-vue' Show Modal - + @@ -41,7 +54,7 @@ import { Modal } from 'flowbite-vue' ### Slot Properties -Modal slots recieve the following functions to interact with the modal: +Modal slots receive the following functions to interact with the modal: 1. `show` = show the modal 2. `hide` = hide the modal 3. `toggle` = toggles the modal from current state (e.g. if shown, then hide) diff --git a/src/components/Modal/Modal.vue b/src/components/Modal/Modal.vue index 7e14112..e88f688 100644 --- a/src/components/Modal/Modal.vue +++ b/src/components/Modal/Modal.vue @@ -2,26 +2,22 @@
-
+
-
-

- -

- +
+
-
+
-
+