Lack of documentation / onChange prop for custom Renderable
OpenTUI is amazing, I already like it more than React/INK even tho I still don't know how to use it. The biggest problem tho is poor documentation. Things are scattered around, difficult to find etc. I'm considering making a website because I really like the package and I would like to contribute somehow to it so nobody else spends over an hour trying to figure out how to add onChange prop to custom Renderable (still without any luck).
I believe fumadocs would be sufficient, allows for lots of customization, supports mdx, is still in development.
I'll gladly accept anyone who would be willing to help with it, to be fair I'm not best with design.
Off topic: I created cutom Checkbox Renderable, I based it on Select Renderable but for some reason Select accepts onChange prop and my Checkbox doesn't. I'm using React
I can try creating one with holocron.so based on the existing documentation in the codebase
Here is an example of how it would look like: https://docs.holocron.so/README
I can try creating one with holocron.so based on the existing documentation in the codebase
Here is an example of how it would look like: https://docs.holocron.so/README
Why holocron and not Fumadocs? Fumadocs seems way more customizable, lacks on community tho but I watched video about it and for someone who works in React seems very nice and easy
@msmps would know best how to extend react with a custom Renderable like that.
I found out that onChange prop used to be added by OpenTUI in host-config.ts via hard coded values. Can't find where it is now. I simply created React wrapper around my component that adds onChange, can't think of better solution
There now is a proper documentation setup which also is deployed with the website. It's WIP. Feel free to add to the documentation if something is missing.