Confusion around gentType for 3rd Part Library



I want to use Reason React for a project but, I am confused about the following topics?

  1. I want to use a 3rd party library ( React Bootstrap) but I do not know how to export the types?
  • Is there a CLI utility

  • Do I do something with the npm @types/lib package

  • List item do I create a interfaces for each component? How do I go about this in the most ergonomic way?


I think this question is better asked at the ReScript forum. After the BuckleScript rebranding ReasonML is mainly a syntax for native compilation.