Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react-components): Add DropdownMenu component #200

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

insmac
Copy link
Contributor

@insmac insmac commented Sep 19, 2023

Add a <DropdownMenu> component, that can be used like so:

<DropdownMenu.Root>
  <DropdownMenu.Trigger asChild>
    button element, or link
  </DropdownMenu.Trigger>
  <DropdownMenu.Content>
    <DropdownMenu.Item>
      item 1
    </DropdownMenu.Item>
    <DropdownMenu.Item>
      item 2  
    </DropdownMenu.Item>
    ...
  </DropdownMenu.Content>
</DropdownMenu.Root>

@insmac insmac added the web-console Issues relevant to "web-console" package label Sep 19, 2023
@insmac insmac merged commit 2ae08a6 into main Sep 21, 2023
1 check passed
@insmac insmac deleted the react-components/dropdown-menu branch September 21, 2023 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web-console Issues relevant to "web-console" package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants