This is a general question, I'm looking for ideas. The goal is to write a documentation system.
So, I want to draw my Composable function on the HTML page.
What comes to my mind:
@Previewalready draws it somehow but I'm not sure that it's easy to adapt it to HTML. At the first glance, I haven't found such possibility.- It's possible to draw the view on the emulator, take screenshot as Bitmap and upload this Bitmap. But this adds emulator dependency for generation which I'd like to avoid.
Perhaps, anyone has already worked on this problem? Appreciate any hints.