I'm trying to use Toggle to switch which icon is hidden in a button when the button is clicked. Even if I start with Icon A visible and Icon B hidden, toggle synchronises them on first run.
Does Toggle support toggling two items with opposing values? If not, is this a valid use case that's worth adding support for?
I'm trying to use
Toggle
to switch which icon is hidden in a button when the button is clicked. Even if I start with Icon A visible and Icon B hidden, toggle synchronises them on first run.Does
Toggle
support toggling two items with opposing values? If not, is this a valid use case that's worth adding support for?