docs: typo in drawer, dialog and sheet (#2306)

This commit is contained in:
Anshul Kanwar
2024-01-07 12:56:21 +05:30
committed by GitHub
parent 33795426dd
commit 4b200ebf59
6 changed files with 8 additions and 12 deletions

View File

@@ -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&apos;ve shared it with. accessible by you or others you&apos;ve shared it with.

View File

@@ -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?

View File

@@ -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>

View File

@@ -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.

View File

@@ -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>
)
} }

View File

@@ -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>
)
} }