text: import React, { forwardRef } from 'react';
  import { renderPathForWeight } from '../lib/index.esm.js';
  import IconBase from '../lib/IconBase.esm.js';
  
  /* GENERATED FILE */
  var pathsByWeight = /*#__PURE__*/new Map();
  pathsByWeight.set("bold", function (color) {
    return React.createElement(React.Fragment, null, React.createElement("line", {
      x1: "228",
      y1: "208",
      x2: "28",
      y2: "208",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "24"
    }), React.createElement("polyline", {
      points: "100 208 100 88 156 88",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "24"
    }), React.createElement("rect", {
      x: "156",
      y: "40",
      width: "56",
      height: "168",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "24"
    }), React.createElement("polyline", {
      points: "44 208 44 136 100 136",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "24"
    }));
  });
  pathsByWeight.set("duotone", function (color) {
    return React.createElement(React.Fragment, null, React.createElement("rect", {
      x: "156",
      y: "40",
      width: "56",
      height: "168",
      opacity: "0.2"
    }), React.createElement("line", {
      x1: "228",
      y1: "208",
      x2: "28",
      y2: "208",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }), React.createElement("polyline", {
      points: "100 208 100 88 156 88",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }), React.createElement("rect", {
      x: "156",
      y: "40",
      width: "56",
      height: "168",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }), React.createElement("polyline", {
      points: "44 208 44 136 100 136",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }));
  });
  pathsByWeight.set("fill", function () {
    return React.createElement(React.Fragment, null, React.createElement("path", {
      d: "M228,200h-8V40a8,8,0,0,0-8-8H156a8,8,0,0,0-8,8V80H100a8,8,0,0,0-8,8v40H44a8,8,0,0,0-8,8v64H28a8,8,0,0,0,0,16H228a8,8,0,0,0,0-16ZM108,96h40V200H108ZM52,144H92v56H52Z"
    }));
  });
  pathsByWeight.set("light", function (color) {
    return React.createElement(React.Fragment, null, React.createElement("line", {
      x1: "228",
      y1: "208",
      x2: "28",
      y2: "208",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "12"
    }), React.createElement("polyline", {
      points: "100 208 100 88 156 88",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "12"
    }), React.createElement("rect", {
      x: "156",
      y: "40",
      width: "56",
      height: "168",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "12"
    }), React.createElement("polyline", {
      points: "44 208 44 136 100 136",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "12"
    }));
  });
  pathsByWeight.set("thin", function (color) {
    return React.createElement(React.Fragment, null, React.createElement("line", {
      x1: "228",
      y1: "208",
      x2: "28",
      y2: "208",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "8"
    }), React.createElement("polyline", {
      points: "100 208 100 88 156 88",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "8"
    }), React.createElement("rect", {
      x: "156",
      y: "40",
      width: "56",
      height: "168",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "8"
    }), React.createElement("polyline", {
      points: "44 208 44 136 100 136",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "8"
    }));
  });
  pathsByWeight.set("regular", function (color) {
    return React.createElement(React.Fragment, null, React.createElement("polyline", {
      points: "44 208 44 136 100 136",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }), React.createElement("line", {
      x1: "228",
      y1: "208",
      x2: "28",
      y2: "208",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }), React.createElement("polyline", {
      points: "100 208 100 88 156 88",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }), React.createElement("rect", {
      x: "156",
      y: "40",
      width: "56",
      height: "168",
      fill: "none",
      stroke: color,
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "16"
    }));
  });
  
  var renderPath = function renderPath(weight, color) {
    return renderPathForWeight(weight, color, pathsByWeight);
  };
  
  var ChartBar = /*#__PURE__*/forwardRef(function (props, ref) {
    return React.createElement(IconBase, Object.assign({
      ref: ref
    }, props, {
      renderPath: renderPath
    }));
  });
  ChartBar.displayName = "ChartBar";
  
  export default ChartBar;
  //# sourceMappingURL=ChartBar.esm.js.map
  