Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
required: false,
default: 'Depends on device',
type: `{number}`,
controlType: 'range',
controlGroup: 'Base',
controlOptions: {
min: 1,
max: 2,
},
},
{
key: 'minValue',
scopes: '*',
description: `Minimum value. If 'auto', will pick the lowest value in the provided data set. Should be overriden if your data set does not contain desired lower bound value.`,
required: false,
default: defaults.minValue,
type: `{number|'auto'}`,
controlType: 'switchableRange',
controlGroup: 'Base',
controlOptions: {
disabledValue: 'auto',
defaultValue: 0,
min: -100,
max: 100,
},
},
{
key: 'maxValue',
scopes: '*',
description: `Maximum value. If 'auto', will pick the highest value in the provided data set. Should be overriden if your data set does not contain desired higher bound value.`,
required: false,
default: defaults.maxValue,
type: 'string[]',
required: false,
defaultValue: defaults.keys,
},
{
key: 'minValue',
help: 'Minimum value.',
description: `
Minimum value.
If 'auto', will pick the lowest value
in the provided data set. Should be overriden
if your data set does not contain desired
lower bound value.
`,
required: false,
defaultValue: defaults.minValue,
type: `number | 'auto'`,
controlType: 'switchableRange',
group: 'Base',
controlOptions: {
disabledValue: 'auto',
defaultValue: 0,
min: -100,
max: 100,
},
},
{
key: 'maxValue',
help: 'Maximum value.',
description: `
Maximum value. If 'auto', will pick the highest value
in the provided data set. Should be overriden