How to use the @nivo/voronoi.VoronoiDefaultProps.linkLineWidth function in @nivo/voronoi

To help you get started, we’ve selected a few @nivo/voronoi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github plouc / nivo / website / src / components / charts / voronoi / props.js View on Github external
{
        key: 'enableLinks',
        scopes: '*',
        description: 'Enable/disable links.',
        type: '{boolean}',
        required: false,
        default: defaults.enableLinks,
        controlType: 'switch',
        controlGroup: 'Links',
    },
    {
        key: 'linkLineWidth',
        description: 'Links line width (px).',
        type: '{number}',
        required: false,
        default: defaults.linkLineWidth,
        controlType: 'range',
        controlGroup: 'Links',
        controlOptions: {
            unit: 'px',
            min: 0,
            max: 12,
            step: 1,
        },
    },
    {
        key: 'linkLineColor',
        description: 'Links color.',
        type: '{string}',
        required: false,
        default: defaults.linkLineColor,
        controlType: 'colorPicker',
github plouc / nivo / website / src / data / components / voronoi / props.js View on Github external
},
    {
        key: 'enableLinks',
        help: 'Enable/disable links.',
        type: 'boolean',
        required: false,
        defaultValue: defaults.enableLinks,
        controlType: 'switch',
        group: 'Links',
    },
    {
        key: 'linkLineWidth',
        help: 'Links line width.',
        type: 'number',
        required: false,
        defaultValue: defaults.linkLineWidth,
        controlType: 'lineWidth',
        group: 'Links',
    },
    {
        key: 'linkLineColor',
        help: 'Links color.',
        type: 'string',
        required: false,
        defaultValue: defaults.linkLineColor,
        controlType: 'colorPicker',
        group: 'Links',
    },
    {
        key: 'enableCells',
        help: 'Enable/disable cells.',
        type: 'boolean',