mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 10:50:40 +01:00
feat(Slideover): preset support (#68)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6e616408ea
commit
5b4e4f8648
@@ -12,7 +12,7 @@
|
||||
leave-from="opacity-100"
|
||||
leave-to="opacity-0"
|
||||
>
|
||||
<div class="fixed inset-0 bg-gray-500/75 dark:bg-gray-600/75 transition-opacity" />
|
||||
<div class="fixed inset-0 transition-opacity" :class="overlayClass" />
|
||||
</TransitionChild>
|
||||
|
||||
<div class="fixed inset-0 overflow-y-auto">
|
||||
@@ -77,6 +77,10 @@ const props = defineProps({
|
||||
type: String,
|
||||
default: () => $ui.modal.background
|
||||
},
|
||||
overlayClass: {
|
||||
type: String,
|
||||
default: () => $ui.modal.overlay
|
||||
},
|
||||
shadowClass: {
|
||||
type: String,
|
||||
default: () => $ui.modal.shadow
|
||||
|
||||
Reference in New Issue
Block a user