Switch with actions

It will be great to add actions to a switch option … let’s say the switch is related to notifications, and when enabled, the user gives the approval for push notifications and vice-versa.

Yes, switch options are great for the user experience, so adding actions to it would be very useful.