UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.03 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 IconGavel = 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: "m22.328 11.424-1.5-1.5a1.875 1.875 0 0 0-2.162-.351L14.43 5.335a1.875 1.875 0 0 0-.35-2.162l-1.5-1.5a1.875 1.875 0 0 0-2.652 0l-6 6a1.875 1.875 0 0 0 0 2.652l1.5 1.5a1.875 1.875 0 0 0 2.156.355l-5.578 5.574a3 3 0 0 0 4.243 4.243l5.567-5.571a1.88 1.88 0 0 0 .357 2.15l1.5 1.5a1.876 1.876 0 0 0 2.652 0l6-6a1.875 1.875 0 0 0 0-2.652zM6.752 9.97 5.782 9l5.47-5.47.97.97zM4.656 20.407a.75.75 0 1 1-1.06-1.062l5.58-5.58 1.06 1.062zm8.69-5.653-4.098-4.098 3.656-3.657 4.1 4.1zm1.656 3.47-.97-.974 5.47-5.47.97.97z" })); } 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.025 11.725-1.5-1.5a1.5 1.5 0 0 0-1.953-.143l-4.654-4.654a1.5 1.5 0 0 0-.143-1.954l-1.5-1.5a1.5 1.5 0 0 0-2.121 0l-6 6a1.5 1.5 0 0 0 0 2.122l1.5 1.5a1.5 1.5 0 0 0 1.953.142l.672.672-6.13 6.13a2.344 2.344 0 0 0 3.312 3.311l6.128-6.13.672.672a1.5 1.5 0 0 0 .143 1.954l1.5 1.5a1.5 1.5 0 0 0 2.121 0l6-6a1.5 1.5 0 0 0 0-2.122m-15.311-1.19-1.5-1.5 6-6 1.5 1.5zM4.4 20.79a.844.844 0 0 1-1.19 0 .844.844 0 0 1 0-1.189l6.129-6.13 1.19 1.19zm4.283-10.1 4.187-4.187 4.625 4.626-4.186 4.187zm6.281 8.094-1.5-1.5.375-.375 5.25-5.25.375-.375 1.5 1.5z" })); }; IconGavel.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 { IconGavel as default }; IconGavel;