fix(docs): update command usage doc

This commit is contained in:
shadcn
2023-02-08 07:48:13 +04:00
parent fbc75c8902
commit 6d63bcbe1f
2 changed files with 2 additions and 3 deletions

View File

@@ -5,7 +5,6 @@ import { cn } from "@/lib/utils"
import { AppleMusicDemo } from "@/components/apple-music-demo"
import { CopyButton } from "@/components/copy-button"
import { PromoVideo } from "@/components/promo-video"
import { AspectRatio } from "@/components/ui/aspect-ratio"
import { buttonVariants } from "@/components/ui/button"
export default function IndexPage() {

View File

@@ -51,7 +51,7 @@ import {
```
```tsx
<CommandDialog triggerKey="j">
<Command>
<CommandInput placeholder="Type a command or search..." />
<CommandList>
<CommandEmpty>No results found.</CommandEmpty>
@@ -67,7 +67,7 @@ import {
<CommandItem>Settings</CommandItem>
</CommandGroup>
</CommandList>
</CommandDialog>
</Command>
```
## Examples