Moritz Hofmeister
03/11/2022, 2:56 PMOutlinedTextFieldProps in kotlin-mui in a TextField component?
Are they only accessible through unsafeCast?
I basically just want to access onChangeturansky
03/11/2022, 3:05 PMTextField<OutlinedTextFieldProps> {
...
onChange = {}
}
?Moritz Hofmeister
03/11/2022, 3:37 PMMoritz Hofmeister
03/11/2022, 3:41 PMType argument is not within its bounds.
Expected:
ChildrenBuilder
Found:
OutlinedTextFieldProps
Just add this annotation:
@Suppress("UPPER_BOUND_VIOLATED")turansky
03/11/2022, 5:30 PMturansky
03/12/2022, 12:57 AM