How to dynamically show one of multiple children?

I have 2 registered code components called sizeComponent and colorComponent. I want one to appear based on the value I choose for the prop of a parent component in Plasmic . Those values are core/color and core/size.

As you can see here.
• Currently all colors and sizes appear, rather then one or the other
• There are many other values (and components to add) once this one works
• I have no variants, but should I or a switch case in code?