import {
Button,
DropdownMenu,
DropdownMenuContent,
DropdownMenuGroup,
DropdownMenuItem,
DropdownMenuLabel,
DropdownMenuSeparator,
DropdownMenuTrigger,
} from '@reactants/ui'
function Dropdown() {
return (
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button>Menu</Button>
</DropdownMenuTrigger>
<DropdownMenuContent>
<DropdownMenuLabel>john@doe.com</DropdownMenuLabel>
<DropdownMenuGroup>
<DropdownMenuItem>Workspace Settings</DropdownMenuItem>
<DropdownMenuItem>Create or join workspace</DropdownMenuItem>
<DropdownMenuItem disabled>Add an account</DropdownMenuItem>
</DropdownMenuGroup>
<DropdownMenuSeparator />
<DropdownMenuGroup>
<DropdownMenuItem danger>Log out</DropdownMenuItem>
</DropdownMenuGroup>
</DropdownMenuContent>
</DropdownMenu>
)
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Design system
License
danteissaias/reactants
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Design system
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published