code: function normalizeValue(value) {
    if (Array.isArray(value)) {
      return value;
    }
  
    if (isPlainObject(value)) {
      return [value];
    }
  
    return [{ name: value }];
  }
docs: props of type 'enum' can be string, e.g. "SCALE_TYPES"
  or array of values, e.g., [{ value: 'green' }]
  @param {String|Object|Array} value
  @return {Array}