Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
defaultValue: defaults.cornerRadius,
controlType: 'range',
group: 'Base',
controlOptions: {
unit: 'px',
min: 0,
max: 45,
step: 1,
},
},
{
key: 'sortByValue',
help: `If 'true', arcs will be ordered according to their associated value.`,
type: 'boolean',
required: false,
defaultValue: defaults.sortByValue,
controlType: 'switch',
group: 'Base',
},
{
key: 'margin',
help: 'Chart margin.',
type: 'object',
required: false,
controlType: 'margin',
group: 'Base',
},
{
key: 'colors',
help: 'Defines color range.',
type: 'string | Function | string[]',
required: false,