Should this have replaced the dynamic in Dialog onClose as well? It's causing errors such as the following even for the showcase:
Property accessor 'onClose.<set-onClose>' can not be called: No property accessor found for symbol 'mui.material/DialogProps.onClose.<set-onClose>|<set-onClose>(kotlin.Function2<kotlin.Nothing?,kotlin.String,kotlin.Unit>?){}[0]'
Should this have replaced the dynamic in Dialog onClose as well? It's causing errors such as the following even for the showcase:
https://karakum-team.github.io/kotlin-mui-showcase/#/material-ui%2Freact-dialog