Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
key: 'useMesh',
group: 'Interactivity',
flavors: ['svg'],
help: 'Use a mesh to detect mouse interactions.',
type: 'boolean',
required: false,
defaultValue: defaults.useMesh,
controlType: 'switch',
},
{
key: 'debugMesh',
help: 'Display mesh used to detect mouse interactions (voronoi cells).',
type: 'boolean',
required: false,
defaultValue: defaults.debugMesh,
controlType: 'switch',
group: 'Interactivity',
},
{
key: 'tooltip',
flavors: ['svg'],
group: 'Interactivity',
type: 'Function',
required: false,
help: 'Custom tooltip component',
description: `
A function allowing complete tooltip customisation,
it must return a valid HTML element and will
receive the node as a property.
You can also customize the tooltip style