Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
controlType: 'range',
group: 'Years',
controlOptions: {
unit: 'px',
min: 0,
max: 60,
},
},
// Months
{
key: 'monthBorderWidth',
flavors: ['svg', 'api'],
help: 'width of month borders.',
type: 'number',
required: false,
defaultValue: defaults.monthBorderWidth,
controlType: 'lineWidth',
group: 'Months',
},
{
key: 'monthBorderColor',
flavors: ['svg', 'api'],
help: 'color to use for months border.',
type: 'string',
required: false,
defaultValue: defaults.monthBorderColor,
controlType: 'colorPicker',
group: 'Months',
},
{
key: 'monthLegend',
help: `can be used to customize months label, returns abbreviated month name (english) by default. This can be used to use a different language`,