How would one go about accessing the e.g. `Outline...
# javascript
m
How would one go about accessing the e.g.
OutlinedTextFieldProps
in
kotlin-mui
in a TextField component? Are they only accessible through
unsafeCast
? I basically just want to access
onChange
t
Copy code
TextField<OutlinedTextFieldProps> {
    ...
    onChange = {}
}
?
m
Thanks
If someone encounters this error:
Copy code
Type argument is not within its bounds.
Expected:
ChildrenBuilder
Found:
OutlinedTextFieldProps
Just add this annotation:
Copy code
@Suppress("UPPER_BOUND_VIOLATED")
Context receivers required for fine solution