gcanti / tcomb-form

Forms library for react
https://gcanti.github.io/tcomb-form
MIT License
1.16k stars 136 forks source link

rewrite templates with JSX #260

Closed gcanti closed 8 years ago

Xananax commented 8 years ago

I'm working on a proposal for tcomb-form, and I needed the bootstrap templates, so I quickly rewrote them. Maybe you can use this as a base. I tried reimplementing most (I think all) of the logic that existed in uvdom-bootstrap (but haven't yet ported the templates from tcomb-form's bootstrap directory)

https://github.com/Xananax/tcomb-bootstrap-templates-temp

There are also additional libraries, for modals and so on. They're written in my own horrendous style (comma first, etc), but I can run a quick regex search-and-replace if you want to use them. Only dependency is classnames (and React, obviously).

Xananax commented 8 years ago

Alternatively, you can just tell me what matters to you in terms of coding style (apart from 2 spaces for indents and trailing commas) and I can submit a PR some weeks from now.

gcanti commented 8 years ago

Thanks a lot @Xananax, at first sight seem very helpful. I'll take a closer look after the v0.7.7 release (not so far hopefully)