Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'xDomain',
group: 'Base',
help: 'Defines the x values domain.',
type: '[number, number]',
required: false,
defaultValue: defaults.xDomain,
},
{
key: 'yDomain',
group: 'Base',
help: 'Defines the y values domain.',
type: '[number, number]',
required: false,
defaultValue: defaults.yDomain,
},
{
key: 'width',
enableControlForFlavors: ['api'],
description: `
not required if using
\`\`.
`,
help: 'Chart width.',
type: 'number',
required: true,
controlType: 'range',
group: 'Base',
controlOptions: {
unit: 'px',
min: 100,
},
{
key: 'xDomain',
scopes: '*',
description: 'Defines the x values domain.',
type: '{[number, number]}',
required: false,
default: defaults.xDomain,
},
{
key: 'yDomain',
scopes: '*',
description: 'Defines the y values domain.',
type: '{[number, number]}',
required: false,
default: defaults.yDomain,
},
{
key: 'width',
scopes: ['api'],
docScopes: '*',
description: (
<span>
not required if using
<code><ResponsiveVoronoi /></code>.
</span>
),
help: 'Chart width.',
type: '{number}',
required: true,
controlType: 'range',
controlGroup: 'Base',