Skip to content

Commit

Permalink
Add DrawerItemList
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt committed Dec 8, 2024
1 parent eb154dd commit 8469a94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Drawer.bs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ function Make($star) {

var $$Navigation = {};

var DrawerItemList = {};

exports.Make = Make;
exports.$$Navigation = $$Navigation;
exports.DrawerItemList = DrawerItemList;
/* ./Interop Not a pure module */
5 changes: 5 additions & 0 deletions src/Drawer.res
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,8 @@ external useDrawerStatus: unit => drawerStatus = "useDrawerStatus"

@module("@react-navigation/drawer")
external getDrawerStatusFromState: navigationState => drawerStatus = "getDrawerStatusFromState"

module DrawerItemList = {
@module("@react-navigation/drawer")
external make: React.component<contentComponentProps> = "DrawerItemList"
}

0 comments on commit 8469a94

Please sign in to comment.