mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
docs: typo in drawer, dialog and sheet (#2306)
This commit is contained in:
@@ -95,7 +95,7 @@ export function PresetActions() {
|
|||||||
<AlertDialog open={showDeleteDialog} onOpenChange={setShowDeleteDialog}>
|
<AlertDialog open={showDeleteDialog} onOpenChange={setShowDeleteDialog}>
|
||||||
<AlertDialogContent>
|
<AlertDialogContent>
|
||||||
<AlertDialogHeader>
|
<AlertDialogHeader>
|
||||||
<AlertDialogTitle>Are you sure absolutely sure?</AlertDialogTitle>
|
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
|
||||||
<AlertDialogDescription>
|
<AlertDialogDescription>
|
||||||
This action cannot be undone. This preset will no longer be
|
This action cannot be undone. This preset will no longer be
|
||||||
accessible by you or others you've shared it with.
|
accessible by you or others you've shared it with.
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ import {
|
|||||||
<DialogTrigger>Open</DialogTrigger>
|
<DialogTrigger>Open</DialogTrigger>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Are you sure absolutely sure?</DialogTitle>
|
<DialogTitle>Are you absolutely sure?</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
This action cannot be undone. This will permanently delete your account
|
This action cannot be undone. This will permanently delete your account
|
||||||
and remove your data from our servers.
|
and remove your data from our servers.
|
||||||
@@ -103,7 +103,7 @@ To activate the `Dialog` component from within a `Context Menu` or `Dropdown Men
|
|||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Are you sure absolutely sure?</DialogTitle>
|
<DialogTitle>Are you absolutely sure?</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
This action cannot be undone. Are you sure you want to permanently
|
This action cannot be undone. Are you sure you want to permanently
|
||||||
delete this file from our servers?
|
delete this file from our servers?
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ import {
|
|||||||
<DrawerTrigger>Open</DrawerTrigger>
|
<DrawerTrigger>Open</DrawerTrigger>
|
||||||
<DrawerContent>
|
<DrawerContent>
|
||||||
<DrawerHeader>
|
<DrawerHeader>
|
||||||
<DrawerTitle>Are you sure absolutely sure?</DrawerTitle>
|
<DrawerTitle>Are you absolutely sure?</DrawerTitle>
|
||||||
<DrawerDescription>This action cannot be undone.</DrawerDescription>
|
<DrawerDescription>This action cannot be undone.</DrawerDescription>
|
||||||
</DrawerHeader>
|
</DrawerHeader>
|
||||||
<DrawerFooter>
|
<DrawerFooter>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ import {
|
|||||||
<SheetTrigger>Open</SheetTrigger>
|
<SheetTrigger>Open</SheetTrigger>
|
||||||
<SheetContent>
|
<SheetContent>
|
||||||
<SheetHeader>
|
<SheetHeader>
|
||||||
<SheetTitle>Are you sure absolutely sure?</SheetTitle>
|
<SheetTitle>Are you absolutely sure?</SheetTitle>
|
||||||
<SheetDescription>
|
<SheetDescription>
|
||||||
This action cannot be undone. This will permanently delete your account
|
This action cannot be undone. This will permanently delete your account
|
||||||
and remove your data from our servers.
|
and remove your data from our servers.
|
||||||
@@ -92,7 +92,7 @@ You can adjust the size of the sheet using CSS classes:
|
|||||||
<SheetTrigger>Open</SheetTrigger>
|
<SheetTrigger>Open</SheetTrigger>
|
||||||
<SheetContent className="w-[400px] sm:w-[540px]">
|
<SheetContent className="w-[400px] sm:w-[540px]">
|
||||||
<SheetHeader>
|
<SheetHeader>
|
||||||
<SheetTitle>Are you sure absolutely sure?</SheetTitle>
|
<SheetTitle>Are you absolutely sure?</SheetTitle>
|
||||||
<SheetDescription>
|
<SheetDescription>
|
||||||
This action cannot be undone. This will permanently delete your account
|
This action cannot be undone. This will permanently delete your account
|
||||||
and remove your data from our servers.
|
and remove your data from our servers.
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
export default function TypographyLarge() {
|
export default function TypographyLarge() {
|
||||||
return (
|
return <div className="text-lg font-semibold">Are you absolutely sure?</div>
|
||||||
<div className="text-lg font-semibold">Are you sure absolutely sure?</div>
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
export default function TypographyLarge() {
|
export default function TypographyLarge() {
|
||||||
return (
|
return <div className="text-lg font-semibold">Are you absolutely sure?</div>
|
||||||
<div className="text-lg font-semibold">Are you sure absolutely sure?</div>
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user