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.gridLabelOffset,
controlType: 'range',
group: 'Grid',
controlOptions: {
unit: 'px',
min: 0,
max: 60,
},
},
{
key: 'enableDots',
help: 'Enable/disable dots.',
type: 'boolean',
required: false,
defaultValue: defaults.enableDots,
controlType: 'switch',
group: 'Dots',
},
{
key: 'dotSymbol',
group: 'Dots',
help: 'Overrides default dot circle.',
description: `
Overrides default dot circle.
The function will receive \`size\`,
\`color\`, \`borderWidth\` and \`borderColor\`
props and must return a valid SVG element.
`,
type: 'Function',
required: false,
},