css.gui icon indicating copy to clipboard operation
css.gui copied to clipboard

Feature Request: Alternate display methods for enums

Open tarngerine opened this issue 2 years ago • 1 comments

Currently enums render as a <select> which is all fine and good, but I'd love an ability to render them as a radio group, too, which can be handy for a webflow style flex/grid layout widget

tarngerine avatar Apr 25 '22 22:04 tarngerine

Yeah I def think this is something that makes sense and is something we can implement. Perhaps the API could look something like:

<Inputs.TextAlign inputType="radio" />

johno avatar Apr 26 '22 15:04 johno