Complete the code to create a boolean variant property named "isActive".
component.variantProperties = { "isActive": [1] }The boolean variant property should be set as a boolean value true without quotes.
Complete the code to define an enum variant property named "size" with options "small", "medium", and "large".
component.variantProperties = { "size": [1] }The enum variant property should be an array of strings representing the options.
Fix the error in the code to correctly set a boolean variant property "disabled" to false.
component.variantProperties = { "disabled": [1] }The boolean value false must be lowercase and without quotes.
Fill both blanks to define an enum variant property "color" with options "red", "green", and "blue", and set its default to "green".
component.variantProperties = { "color": [1] };
component.defaultVariant = { "color": [2] };The enum options are an array of strings, and the default value is one of those strings.
Fill all three blanks to define a boolean variant property "visible", an enum variant property "theme" with options "light" and "dark", and set default values for both.
component.variantProperties = { "visible": [1], "theme": [2] };
component.defaultVariant = { "visible": [3], "theme": "dark" };Boolean variant properties use true/false without quotes. Enum options are arrays of strings. Default values must match the property type.