Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'colors',
help: 'Defines how to compute slice color.',
type: 'string | Function | string[]',
required: false,
defaultValue: defaults.colors,
controlType: 'ordinalColors',
group: 'Style',
},
{
key: 'fillOpacity',
help: 'Shape fill opacity.',
type: 'number',
required: false,
defaultValue: defaults.fillOpacity,
controlType: 'opacity',
group: 'Style',
},
{
key: 'blendMode',
flavors: ['svg'],
help: 'Defines CSS mix-blend-mode property.',
description: `
Defines CSS \`mix-blend-mode\` property, see
[MDN documentation](https://developer.mozilla.org/fr/docs/Web/CSS/mix-blend-mode).
`,
type: 'string',
required: false,
defaultValue: defaults.blendMode,
controlType: 'blendMode',
group: 'Style',