I’m trying to be efficient with how many variables I have. I have buttons and dropdowns that contain the same content - hence using a component. When a dropdown for example is placed on different page layouts, I want the user to click an element, have it expand (using a variant of the component) and when the user selects option in the dropdown, they’re navigated to another page… but for each mockup page, the location changes.
I thought I could simply set the ‘navigate to’ to go to a variable string, so I could change it on the fly. But that’s not possible. What’s another way to do this, without having 50 copies of my dropdown just so I can send each scenario to the right location.