Skip to content

Commit

Permalink
docs: typo in drawer, dialog and sheet (#2306)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnshulKanwar authored Jan 7, 2024
1 parent 3379542 commit 4b200eb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function PresetActions() {
<AlertDialog open={showDeleteDialog} onOpenChange={setShowDeleteDialog}>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Are you sure absolutely sure?</AlertDialogTitle>
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
<AlertDialogDescription>
This action cannot be undone. This preset will no longer be
accessible by you or others you&apos;ve shared it with.
Expand Down
4 changes: 2 additions & 2 deletions apps/www/content/docs/components/dialog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import {
<DialogTrigger>Open</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>Are you sure absolutely sure?</DialogTitle>
<DialogTitle>Are you absolutely sure?</DialogTitle>
<DialogDescription>
This action cannot be undone. This will permanently delete your account
and remove your data from our servers.
Expand Down Expand Up @@ -103,7 +103,7 @@ To activate the `Dialog` component from within a `Context Menu` or `Dropdown Men
</ContextMenu>
<DialogContent>
<DialogHeader>
<DialogTitle>Are you sure absolutely sure?</DialogTitle>
<DialogTitle>Are you absolutely sure?</DialogTitle>
<DialogDescription>
This action cannot be undone. Are you sure you want to permanently
delete this file from our servers?
Expand Down
2 changes: 1 addition & 1 deletion apps/www/content/docs/components/drawer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import {
<DrawerTrigger>Open</DrawerTrigger>
<DrawerContent>
<DrawerHeader>
<DrawerTitle>Are you sure absolutely sure?</DrawerTitle>
<DrawerTitle>Are you absolutely sure?</DrawerTitle>
<DrawerDescription>This action cannot be undone.</DrawerDescription>
</DrawerHeader>
<DrawerFooter>
Expand Down
4 changes: 2 additions & 2 deletions apps/www/content/docs/components/sheet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import {
<SheetTrigger>Open</SheetTrigger>
<SheetContent>
<SheetHeader>
<SheetTitle>Are you sure absolutely sure?</SheetTitle>
<SheetTitle>Are you absolutely sure?</SheetTitle>
<SheetDescription>
This action cannot be undone. This will permanently delete your account
and remove your data from our servers.
Expand All @@ -92,7 +92,7 @@ You can adjust the size of the sheet using CSS classes:
<SheetTrigger>Open</SheetTrigger>
<SheetContent className="w-[400px] sm:w-[540px]">
<SheetHeader>
<SheetTitle>Are you sure absolutely sure?</SheetTitle>
<SheetTitle>Are you absolutely sure?</SheetTitle>
<SheetDescription>
This action cannot be undone. This will permanently delete your account
and remove your data from our servers.
Expand Down
4 changes: 1 addition & 3 deletions apps/www/registry/default/example/typography-large.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export default function TypographyLarge() {
return (
<div className="text-lg font-semibold">Are you sure absolutely sure?</div>
)
return <div className="text-lg font-semibold">Are you absolutely sure?</div>
}
4 changes: 1 addition & 3 deletions apps/www/registry/new-york/example/typography-large.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export default function TypographyLarge() {
return (
<div className="text-lg font-semibold">Are you sure absolutely sure?</div>
)
return <div className="text-lg font-semibold">Are you absolutely sure?</div>
}

1 comment on commit 4b200eb

@vercel
Copy link

@vercel vercel bot commented on 4b200eb Jan 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./apps/www

ui-git-main-shadcn-pro.vercel.app
example-playground.vercel.app
ui-shadcn-pro.vercel.app
ui.shadcn.com

Please sign in to comment.