Be able to set a component prop, with a conditional rule, based on a variable.
For example, have a variable called category
which is either going to have a value of “metal” or “house”.
Then for my component, I want a conditional rule such as IF
category == "metal" then property == "foo"
.
Also accept ELSE
, IF ELSE
statements.