Skip to content

Commit 8bb7605

Browse files
authored
docs: fix invalid dropdown types (#1815)
1 parent 694c337 commit 8bb7605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/components/dropdown-menu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ This example shows you how to create a Dropdown Menu component that accepts a fe
7373
import type { Snippet } from "svelte";
7474
import { DropdownMenu, type WithoutChild } from "bits-ui";
7575
76-
type Props = DropdownMenu.Props & {
76+
type Props = DropdownMenu.RootProps & {
7777
buttonText: string;
7878
items: string[];
79-
contentProps?: WithoutChild<DropdownMenu.Content.Props>;
79+
contentProps?: WithoutChild<DropdownMenu.ContentProps>;
8080
// other component props if needed
8181
};
8282

0 commit comments

Comments
 (0)