Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
default: defaults.cellOpacity,
type: '{number}',
controlType: 'range',
controlGroup: 'Style',
controlOptions: {
min: 0,
max: 1,
step: 0.05,
},
},
{
key: 'cellBorderWidth',
scopes: '*',
description: 'Cell border width (px).',
required: false,
default: defaults.cellBorderWidth,
type: '{number}',
controlType: 'range',
controlGroup: 'Style',
controlOptions: {
unit: 'px',
min: 0,
max: 10,
},
},
{
key: 'cellBorderColor',
scopes: '*',
description: (
<span>
how to compute cell border color,{' '}
see dedicated documentation.</span>
group: 'Style',
},
{
key: 'cellOpacity',
help: 'Cell opacity (0~1).',
required: false,
defaultValue: defaults.cellOpacity,
type: 'number',
controlType: 'opacity',
group: 'Style',
},
{
key: 'cellBorderWidth',
help: 'Cell border width.',
required: false,
defaultValue: defaults.cellBorderWidth,
type: 'number',
controlType: 'lineWidth',
group: 'Style',
},
{
key: 'cellBorderColor',
help: 'Method to compute cell border color.',
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',