Skip to content

Commit

Permalink
chore: added missing bindings for NavigationMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarcosp committed Dec 11, 2022
1 parent 0ad0cfb commit 47ae641
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Radix.res
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,17 @@ module NavigationMenu = {
~children: React.element=?,
) => React.element = "Trigger"
}

module Link = {
@react.component @module("@radix-ui/react-navigation-menu")
external make: (
~className: string=?,
~asChild: bool=?,
~active: bool=?,
~onSelect: ReactEvent.Mouse.t => unit=?,
~children: React.element,
) => React.element = "Link"
}

module Viewport = {
@react.component @module("@radix-ui/react-navigation-menu")
Expand Down

0 comments on commit 47ae641

Please sign in to comment.