Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'childColor',
help: 'Defines how to compute child nodes color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.childColor,
controlType: 'inheritedColor',
group: 'Base',
},
{
key: 'borderWidth',
help: 'Node border width.',
type: 'number',
required: false,
defaultValue: defaults.borderWidth,
controlType: 'lineWidth',
group: 'Base',
},
{
key: 'cornerRadius',
help: 'Round node shape.',
type: 'number',
required: false,
defaultValue: defaults.cornerRadius,
controlType: 'range',
group: 'Base',
controlOptions: {
unit: 'px',
min: 0,
max: 45,
step: 1,