We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
children
1 parent f279d8f commit a6e2652Copy full SHA for a6e2652
1 file changed
apps/website/src/components/ui/command.tsx
@@ -37,11 +37,12 @@ function CommandDialog({
37
className,
38
showCloseButton = true,
39
...props
40
-}: ComponentProps<typeof Dialog> & {
+}: Omit<ComponentProps<typeof Dialog>, "children"> & {
41
title?: string;
42
description?: string;
43
className?: string;
44
showCloseButton?: boolean;
45
+ children?: React.ReactNode;
46
}) {
47
return (
48
<Dialog {...props}>
0 commit comments