Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
controlOptions: {
withCustomColor: true,
},
},
/*——————————————————————————————————————————————————————————————————————————
Labels
————————————————————————————————————————————————————————————————————————————*/
{
key: 'enableLabels',
scopes: '*',
description: 'Enable/disable labels.',
type: '{boolean}',
required: false,
default: defaults.enableLabels,
controlType: 'switch',
controlGroup: 'Labels',
},
{
key: 'labelTextColor',
scopes: '*',
description: (
<span>
how to compute label text color,{' '}
see dedicated documentation.
</span>
),
help: 'Method to compute label text color.',
type: '{string|Function}',
required: false,
default: defaults.labelTextColor,
description: `
how to compute cell border color,
[see dedicated documentation](self:/guides/colors).
`,
type: 'string | object | Function',
required: false,
defaultValue: defaults.cellBorderColor,
controlType: 'inheritedColor',
group: 'Style',
},
{
key: 'enableLabels',
help: 'Enable/disable labels.',
type: 'boolean',
required: false,
defaultValue: defaults.enableLabels,
controlType: 'switch',
group: 'Labels',
},
{
key: 'labelTextColor',
help: 'Method to compute label text color.',
description: `
how to compute label text color,
[see dedicated documentation](self:/guides/colors).
`,
type: 'string | object | Function',
required: false,
defaultValue: defaults.labelTextColor,
controlType: 'inheritedColor',
group: 'Labels',
},