Open lewisf opened 5 years ago
For the record, I got this working by changing ReasonReact.reactElement
as a return type to ReasonReact.reactClass
and then changing my usage of the Tab module (resulting from TabNavigator.create) to
let make = children =>
ReasonReact.wrapJsForReason(
~reactClass=Tabs.render,
~props=Js.Obj.empty(),
children,
);
These seem to be ReasonReact.reactClass? I'm having a hard time using bottom tab navigator into JSX for instance.
This doesn't work
nor does this