m6io / rjsf-tailwind

A Tailwind theme for react-jsonschema-form
https://rjsf-tailwind.vercel.app
31 stars 1 forks source link

Can this be used as an @rjsf theme? #4

Open naskovai opened 3 months ago

naskovai commented 3 months ago

Here is the themes section of the rjsf docs: https://rjsf-team.github.io/react-jsonschema-form/docs/usage/themes

Similarly to other themes, can we have this work as well? It will make the adoption of your nice lib much easier.

import Form from '@rjsf/tailwind';
m6io commented 3 months ago

I did think about doing that, but it would make it tough for consumers to customize it to their liking. Also, I think I need to be a part of the @rjsf organization on npm in order to publish a package using that prefix.

gamedevsam commented 5 hours ago

@m6io I'm sure the authors of @rjsf would be interested in hearing from you. Might not be a bad idea to make an appearance on this issue thread and let it be know if you support moving the codebase into the @rjsf umbrella. No judgment one way or the other (you'd probably feel some added responsibility by joining the organization), just feel like you did some good work, people are looking for it in that org, and maybe some of them (like myself) find this repo on Google, but some others might give up without official support.

As for making it tough to customize, I don't think this would be the case. You could as a pre-condition to donating your code to @rjsf organization, be made a member and ask to have the final say on how this repo evolves, or you could let it go and have someone else maintain it, but ultimately your opinion would matter a great deal, so you can always influence its direction.

Thanks for sharing your hard work, I hope to pay it forward one day.