isEnabled is not a function. it is a getter/setter (or an accessor), which means you need to set
isEnabled = true if you want to enable it (or false if you don’t. That’s also what your reproduction shows as well
The accessor icon is showing clearly in the API. I believe there’s nothing wrong here. Apart from these icons being just very small (it’s ez to ignore them, isn’t it?
Edit: Just an idea, what about coloring them ? It would avoid confusion.
oh sh*t, it’s a method… even if i checked multiple times the doc… i’m stupid, really sorry for that , so everything is fine, just a mistake from me