We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 694c337 commit 8bb7605Copy full SHA for 8bb7605
docs/content/components/dropdown-menu.md
@@ -73,10 +73,10 @@ This example shows you how to create a Dropdown Menu component that accepts a fe
73
import type { Snippet } from "svelte";
74
import { DropdownMenu, type WithoutChild } from "bits-ui";
75
76
- type Props = DropdownMenu.Props & {
+ type Props = DropdownMenu.RootProps & {
77
buttonText: string;
78
items: string[];
79
- contentProps?: WithoutChild<DropdownMenu.Content.Props>;
+ contentProps?: WithoutChild<DropdownMenu.ContentProps>;
80
// other component props if needed
81
};
82
0 commit comments