diff --git a/src/Drawer.bs.js b/src/Drawer.bs.js index c4bdceb..3f9cac7 100644 --- a/src/Drawer.bs.js +++ b/src/Drawer.bs.js @@ -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 */ diff --git a/src/Drawer.res b/src/Drawer.res index 9278671..20d0945 100644 --- a/src/Drawer.res +++ b/src/Drawer.res @@ -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 = "DrawerItemList" +}