Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
key: 'unknownColor',
scopes: ['Choropleth', 'ChoroplethCanvas'],
description: 'Defines the color to use for features without value.',
type: '{string}',
required: false,
default: 'nivo',
controlType: 'colorPicker',
controlGroup: 'Style',
},
{
key: 'borderWidth',
scopes: '*',
description: 'Control border width.',
type: '{number}',
required: false,
default: GeoMapDefaultProps.borderWidth,
controlType: 'range',
controlGroup: 'Style',
controlOptions: {
unit: 'px',
min: 0,
max: 10,
step: 0.5,
},
},
{
key: 'borderColor',
scopes: '*',
description: 'Method to compute border color.',
type: '{string|Function}',
required: false,
default: GeoMapDefaultProps.borderColor,
max: 360,
},
{
label: 'gamma (γ)',
min: -360,
max: 360,
},
],
},
},
{
key: 'borderWidth',
help: 'Control border width.',
type: 'number',
required: false,
defaultValue: GeoMapDefaultProps.borderWidth,
controlType: 'lineWidth',
group: 'Style',
controlOptions: {
step: 0.5,
},
},
{
key: 'borderColor',
help: 'Method to compute border color.',
type: 'string | object | Function',
required: false,
defaultValue: GeoMapDefaultProps.borderColor,
controlType: 'inheritedColor',
group: 'Style',
},
{