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,
defaultValue: defaults.innerRadiusRatio,
type: 'number',
controlType: 'range',
group: 'Base',
controlOptions: {
min: 0,
max: 1,
step: 0.01,
},
},
{
key: 'innerRadiusOffset',
help: 'Inner radius offset (minus innerRadiusRatio).',
required: false,
defaultValue: defaults.innerRadiusOffset,
type: 'number',
controlType: 'range',
group: 'Base',
controlOptions: {
min: 0,
max: 1,
step: 0.01,
},
},
{
key: 'colors',
help: 'Defines how to compute arc/ribbon color.',
type: 'string | Function | string[]',
required: false,
defaultValue: defaults.colors,
controlType: 'ordinalColors',