Hi.
I’m experimenting creating a component in rescript and use it from JS but I’m having some trouble understanding the best way to export nested components.
How should I export Submodule Components to be used in JS?
I know I can use “@genType.as(“Button”)” to avoid “import {make as Button} from …” but how can I make the same for the nested Label component?
I would like to be able to import {Button, Label} from './Button.gen" but I always end up needing to use <Label.make …>
Is there a way got genType to acheive this?
Thanks