fix: add DialogClose in Dialog withCloseOnClick story

This commit is contained in:
p-sw 2024-05-21 10:29:27 +09:00
parent 9493fb8857
commit 208699743f

View File

@ -85,6 +85,7 @@ export const WithCloseOnClick = () => {
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. aliquip ex ea commodo consequat.
</p> </p>
<DialogFooter>
<DialogClose> <DialogClose>
<Button <Button
onClick={(e) => { onClick={(e) => {
@ -94,6 +95,7 @@ export const WithCloseOnClick = () => {
Close Dialog Close Dialog
</Button> </Button>
</DialogClose> </DialogClose>
</DialogFooter>
</DialogContent> </DialogContent>
</DialogOverlay> </DialogOverlay>
</DialogRoot> </DialogRoot>