File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/alert-dialog Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { DialogClose } from ' @soybeanjs/headless' ;
2+ import { AlertDialogClose } from ' @soybeanjs/headless' ;
33import { useOmitProps } from ' @soybeanjs/headless/composables' ;
44import { useSizeContext } from ' @/theme' ;
55import Button from ' ../button/button.vue' ;
@@ -19,11 +19,11 @@ const { size } = useSizeContext('AlertDialogAction');
1919 </script >
2020
2121<template >
22- <DialogClose as-child :before-close =" beforeClose" >
22+ <AlertDialogClose as-child :before-close =" beforeClose" >
2323 <slot name =" content" >
2424 <Button v-bind =" forwardedProps" :size =" size" >
2525 <slot >{{ text }}</slot >
2626 </Button >
2727 </slot >
28- </DialogClose >
28+ </AlertDialogClose >
2929</template >
You can’t perform that action at this time.
0 commit comments