Closed Dluzhnevsky closed 3 years ago
Hi there. The order's not inverted, as you can see from these screens:
Oh, so it is an intended behaviour. My fault. I am used to the cancel button being colored in destructive red. And all the other ones being grey/black. Dismissing the PR then =)
The order of the ternary operator's arguments seems to be inverted. Sounds like the red color should be applied to the .cancel state. And grey should be used for the .default state.