use leptos::prelude::*;
use crate::components::ui::dropdown_menu::{DropdownMenu, DropdownMenuItem, DropdownMenuLink, DropdownMenuTrigger};
#[component]
pub fn DemoDropdownMenu() -> impl IntoView {
view! {
<DropdownMenuTrigger>
<span>"Dropdown Menu"</span>
<DropdownMenu>
<DropdownMenuItem>
<DropdownMenuLink href="/">"Home"</DropdownMenuLink>
</DropdownMenuItem>
<DropdownMenuItem>
<DropdownMenuLink href="#">"Item 2"</DropdownMenuLink>
</DropdownMenuItem>
<DropdownMenuItem>
<DropdownMenuLink href="#">"Item 3"</DropdownMenuLink>
</DropdownMenuItem>
</DropdownMenu>
</DropdownMenuTrigger>
}
}