gregberge / twc

Create reusable React + Tailwind CSS components in one line ✨
https://react-twc.vercel.app
MIT License
1.35k stars 31 forks source link

Ways to improve the docs #18

Closed Seanmclem closed 10 months ago

Seanmclem commented 10 months ago

I would probably do the research myself and make a PR if I had some time today but I don’t think I will be able to.

The website, it’s examples for things like as child and prop driven classes. The examples feel a little incomplete and I think I figured out why. Each example could use one more part demonstrating what the resulting output would be like. It would make more clear what asChild is doing, and how the props and classname objects can affect the output.