diff --git a/docs/components/modal.md b/docs/components/modal.md index a0f55b6c..fdfbef8f 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -62,7 +62,7 @@ const modal = ref(false); ::: -## Custom Title +## Title @@ -93,7 +93,7 @@ const modal = ref(false); ::: -## Custom Footer +## Footer Click @@ -123,7 +123,7 @@ const modal = ref(false); ::: -## Custom Content +## Content Click @@ -151,11 +151,11 @@ const modal = ref(false); ::: -## Custom Width +## Width Click - +
Content
@@ -165,7 +165,7 @@ const modal = ref(false); ```vue @@ -179,11 +179,11 @@ const modal = ref(false); ::: -## Custom Height +## Height Click - +
Content
@@ -193,7 +193,7 @@ const modal = ref(false); ```vue @@ -213,11 +213,11 @@ const modal = ref(false); Closeable - +
Content
No Closeable - +
Content
Custom Closable @@ -234,11 +234,11 @@ const modal = ref(false); ```vue diff --git a/src/ui/modal/ShadcnModal.vue b/src/ui/modal/ShadcnModal.vue index 94ccb044..e8d95454 100644 --- a/src/ui/modal/ShadcnModal.vue +++ b/src/ui/modal/ShadcnModal.vue @@ -7,10 +7,11 @@ @click="onClose"/> -
+
@@ -62,25 +63,19 @@