<script>
export const ConfigurationSelectOptionType = {
  label: String,
  value: String|Number,
};

/**
 * Creates a select option, with a label and a value
 * @param {String} label The label of the option
 * @param {String|Number} value The value of the option
 * @returns {{label: String, value: (String|Number)}} The created option
 */
export function ConfigurationSelectOption(label, value) {
  return {
    label,
    value,
  };
}
</script>