import React from "react";
import PropTypes from "prop-types";
function DvLegendLine(_ref) {
  let {
    color,
    width = 50
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    style: {
      backgroundColor: color,
      height: 4,
      width
    }
  });
}
DvLegendLine.propTypes = {
  color: PropTypes.string.isRequired,
  width: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
export default DvLegendLine;
//# sourceMappingURL=DvLegendLine.js.map