mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
feat(Alert/CommandPalette/Modal/Slideover/Toast): handle closeIcon and uniformize close prop
This commit is contained in:
@@ -54,7 +54,7 @@ const openModal = () => {
|
||||
<UButton label="Open unclosable" color="gray" />
|
||||
</UModal>
|
||||
|
||||
<UModal title="Modal without close button" description="This modal has `close: null` prop." :close="null">
|
||||
<UModal title="Modal without close button" description="This modal has `close: false` prop." :close="false">
|
||||
<UButton label="Open without close button" color="white" />
|
||||
</UModal>
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ const openSlideover = () => {
|
||||
</template>
|
||||
</USlideover>
|
||||
|
||||
<USlideover title="Slideover without close button" description="This slideover has `close: null` prop." :close="null">
|
||||
<USlideover title="Slideover without close button" description="This slideover has `close: false` prop." :close="false">
|
||||
<UButton label="Open without close button" color="white" />
|
||||
|
||||
<template #body>
|
||||
|
||||
Reference in New Issue
Block a user