Skip to content

Commit a6e2652

Browse files
committed
fix: update CommandDialog props, omit children
1 parent f279d8f commit a6e2652

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/website/src/components/ui/command.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ function CommandDialog({
3737
className,
3838
showCloseButton = true,
3939
...props
40-
}: ComponentProps<typeof Dialog> & {
40+
}: Omit<ComponentProps<typeof Dialog>, "children"> & {
4141
title?: string;
4242
description?: string;
4343
className?: string;
4444
showCloseButton?: boolean;
45+
children?: React.ReactNode;
4546
}) {
4647
return (
4748
<Dialog {...props}>

0 commit comments

Comments
 (0)