For the MUI wrapper, is it planned in the future to have more typed props? For example, for the Button.color prop, rather than a string (or Union), could it not be an enum? I know that with Mui 5 they introduced a string to all the "enum" string values, but you don't seem to be able to use anything other than the documented strings without an error, so it would seem an enum would be OK. Would be just nice to use Kotlin's types more if possible.
t
turansky
11/25/2021, 12:29 AM
is it planned in the future to have more typed props?
Yes
Would be just nice to use Kotlin’s types more if possible.
It will be better to describe your problem here or in separate issue