UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 2.83 kB
const _excluded = ["bold", "width", "height"]; function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; } import React from "react"; import PropTypes from "prop-types"; const IconThumbsDown = props => { const _props$bold = props.bold, bold = _props$bold === void 0 ? true : _props$bold, _props$width = props.width, width = _props$width === void 0 ? "24px" : _props$width, _props$height = props.height, height = _props$height === void 0 ? "24px" : _props$height, restProps = _objectWithoutPropertiesLoose(props, _excluded); if (bold) { return /*#__PURE__*/React.createElement("svg", _extends({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", fill: "currentColor", width: width, height: height }, restProps), /*#__PURE__*/React.createElement("path", { d: "m23.354 14.675-1.125-9a2.625 2.625 0 0 0-2.604-2.3H3.5A1.875 1.875 0 0 0 1.625 5.25v8.25A1.875 1.875 0 0 0 3.5 15.375h3.804l3.44 6.878a1.12 1.12 0 0 0 1.006.622 4.13 4.13 0 0 0 4.125-4.125v-1.125h4.875a2.625 2.625 0 0 0 2.604-2.95m-16.479-1.55h-3v-7.5h3zm14.156 2.123a.37.37 0 0 1-.281.127h-6a1.125 1.125 0 0 0-1.125 1.125v2.25a1.87 1.87 0 0 1-1.236 1.762l-3.264-6.527v-8.36h10.5a.375.375 0 0 1 .375.328l1.125 9a.38.38 0 0 1-.094.295" })); } return /*#__PURE__*/React.createElement("svg", _extends({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", fill: "currentColor", width: width, height: height }, restProps), /*#__PURE__*/React.createElement("path", { d: "m22.483 14.719-1.125-9a2.25 2.25 0 0 0-2.233-1.969H3a1.5 1.5 0 0 0-1.5 1.5v8.25A1.5 1.5 0 0 0 3 15h4.037l3.542 7.086a.75.75 0 0 0 .671.414A3.75 3.75 0 0 0 15 18.75v-1.5h5.25a2.25 2.25 0 0 0 2.233-2.531M6.75 13.5H3V5.25h3.75zm14.063 1.996a.74.74 0 0 1-.563.254h-6a.75.75 0 0 0-.75.75v2.25a2.25 2.25 0 0 1-1.808 2.207L8.25 14.073V5.25h10.875a.75.75 0 0 1 .744.656l1.125 9a.74.74 0 0 1-.181.59" })); }; IconThumbsDown.propTypes = process.env.NODE_ENV !== "production" ? { bold: PropTypes.bool, width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), className: PropTypes.string, fill: PropTypes.string, 'aria-hidden': PropTypes.bool, 'aria-label': PropTypes.string } : {}; export { IconThumbsDown as default }; IconThumbsDown;