Closed DrMorbid closed 10 months ago
Thanks for reporting! I fixed it here: https://github.com/cca-io/rescript-mui/commit/872dc23ac849ac2234656f6b7e90c33d568a007f and also published a new version.
Thanks a lot for such a quick fix!
Not sure it's completely correct though. It seems that onClick
is in type clickablePropsWithOnClick
and not clickableProps
.
Argh! I set up a trap for myself here. Fixed it now and published another version. Sorry.
Hello,
onClick
cannot be used as a prop for theFab
component. When I hardcode it to the transpiled.js
file, everything works. When you look at the doc page, you can find a sentence: