Skip to content

Commit 10de681

Browse files
committed
fix(alert-dialog): rename DialogClose to AlertDialogClose for consistency
1 parent 9c51ee7 commit 10de681

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/alert-dialog/alert-dialog-action.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { DialogClose } from '@soybeanjs/headless';
2+
import { AlertDialogClose } from '@soybeanjs/headless';
33
import { useOmitProps } from '@soybeanjs/headless/composables';
44
import { useSizeContext } from '@/theme';
55
import 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>

0 commit comments

Comments
 (0)