refactor(dialog/examples): remove size props on DialogContent

This commit is contained in:
p-sw 2024-08-03 23:08:37 +09:00
parent 75031437bc
commit 80a34d733e
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export function BasicInformationalDialog() {
<Button preset="default">What is this?</Button> <Button preset="default">What is this?</Button>
</DialogTrigger> </DialogTrigger>
<DialogOverlay> <DialogOverlay>
<DialogContent size={"fullMd"}> <DialogContent>
<DialogHeader> <DialogHeader>
<DialogTitle>Dialog Title</DialogTitle> <DialogTitle>Dialog Title</DialogTitle>
<DialogSubtitle>Dialog Subtitle</DialogSubtitle> <DialogSubtitle>Dialog Subtitle</DialogSubtitle>

View File

@ -21,7 +21,7 @@ export function DeletingItem() {
<Button preset="danger">Delete Item</Button> <Button preset="danger">Delete Item</Button>
</DialogTrigger> </DialogTrigger>
<DialogOverlay> <DialogOverlay>
<DialogContent size={"fullMd"}> <DialogContent>
<DialogHeader> <DialogHeader>
<DialogTitle>Delete Item</DialogTitle> <DialogTitle>Delete Item</DialogTitle>
<DialogSubtitle> <DialogSubtitle>