Issue with style variable logic
I 'm trying to set the height of a button dynamically but I 'm a bit confused on how to set the conditional logic properly . Currently , I have an "if " node that checks if the height attribute is "medium " (default ) . If yes , it sets the height to 2 .5rem . If not , I want to add another "if " node to check if the button 's height is "large " . If the button is large , return 3rem , otherwise return 2rem (small ) . For some reason is not working properly .