Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'fillOpacity',
help: 'Layers fill opacity.',
type: 'number',
required: false,
defaultValue: defaults.fillOpacity,
controlType: 'opacity',
group: 'Style',
},
{
key: 'borderWidth',
help: 'Width of layer border.',
type: 'number',
required: false,
defaultValue: defaults.borderWidth,
controlType: 'lineWidth',
group: 'Style',
},
{
key: 'borderColor',
description: `
How to compute border color,
[see dedicated documentation](self:/guides/colors).
`,
help: 'Method to compute layer border color.',
type: 'string | object | Function',
required: false,
defaultValue: defaults.borderColor,
controlType: 'inheritedColor',
group: 'Style',
},