Nested Parenthetical Madness

    component-horizontal-stacked-bar

    2.0.1 • Public • Published

    component-horizontal-stacked-bar

    A horizontal stacked bar component created with React and d3

    Install

    npm install --save component-horizontal-stacked-bar

    Example

    import React from 'react'
    import HorizontalStackedBar from 'component-horizontal-stacked-bar'
     
    export default function EconomicDomainAggregatesBar ({
      className,
      data
    }) {
      const generateLabel = (d, i) => { /* ... */ }
      const generateColor = (d, i) => { /* ... */ }
      return (
        <HorizontalStackedBar
          className={className}
          data={data}
          generateLabel={generateLabel}
          generateFillColour={generateColor}
        />
      )
    }

    Install

    npm i component-horizontal-stacked-bar

    DownloadsWeekly Downloads

    4

    Version

    2.0.1

    License

    Unlicense

    Last publish

    Collaborators

    • sebinsua