Commit a9fc3f16 authored by Sarah Groff Hennigh-Palermo's avatar Sarah Groff Hennigh-Palermo
Browse files

Adds EE validators to CE file

parent 08e176dc52a0
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
colors: { colors: {
type: Array, type: Array,
required: true, required: true,
validator(value) {
return value.length === 2;
},
}, },
opacity: { opacity: {
type: Array, type: Array,
required: true, required: true,
...@@ -7,7 +10,10 @@ ...@@ -7,7 +10,10 @@
}, },
opacity: { opacity: {
type: Array, type: Array,
required: true, required: true,
validator(value) {
return value.length === 2;
},
}, },
identifierName: { identifierName: {
type: String, type: String,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment