4 ms·
In fact, components like Radios and Checkboxes are very complex to create. So we use Smooth UI as a base, but it is intentionally very light (no big components)
by neoziro 8y ago
In fact, components like Radios and Checkboxes are very complex to create. So we use Smooth UI as a base, but it is intentionally very light (no big components).
About TypeScript, I am sorry, I am not a TypeScript user. TypeScript support would be awesome but I need some help on this!
- tzahola 8y agoRadio buttons and checkboxes are complex to create? What? Am I missing something here?
- batteryhorse 8y agoThey're easy to create with HTML, but complex to create with React. This makes it easy again.
- kowdermeister 8y ago> Radios and Checkboxes are very complex to create where's that complexity? It's like a few lines of CSS and folks in our coding bootcamp can do it after watching a YT video.
- nullbyte 8y agoI think he means making the checkbox components reactive and extendable in React.js. That's not an easy thing to do.
- kowdermeister 8y agoNot sure why not. And what would you want to extend on a checkbox? It's a boolean switch.
- batteryhorse 8y agoAt times I have wanted a tri-state checkbox, as well as a quantum checkbox. To each his own I guess.
- kowdermeister 8y agoset it to display:none and toggle state on mousemove => Schrödinger's checkbox :)
- nullbyte 8y agoExtendable for CSS purposes.