UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 2.75 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 IconTestTube = 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.171 7.828-5.625-5.625a1.125 1.125 0 0 0-1.593 0L2.839 14.32a4.574 4.574 0 1 0 6.469 6.468l10.425-10.43 1.998-.667a1.125 1.125 0 0 0 .44-1.863M7.714 19.195a2.322 2.322 0 0 1-3.281-3.282l2.637-2.637c.725-.226 1.836-.281 3.287.469.648.345 1.34.597 2.058.75zM18.77 8.308a1.14 1.14 0 0 0-.44.27l-3.646 3.647c-.724.226-1.835.282-3.286-.468a7.9 7.9 0 0 0-2.057-.75l6.41-6.414 3.543 3.543z" })); } 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: "M21.906 8.094 16.28 2.47a.75.75 0 0 0-1.062 0L3.104 14.585A4.198 4.198 0 1 0 9.04 20.52l10.49-10.49 2.082-.693a.75.75 0 0 0 .294-1.243M7.979 19.46a2.697 2.697 0 0 1-3.814-3.814l2.7-2.7c.794-.272 2.04-.375 3.663.469.994.52 1.892.75 2.678.818zM18.888 8.664a.75.75 0 0 0-.294.18l-3.71 3.71c-.793.272-2.038.375-3.662-.469-.994-.519-1.892-.75-2.678-.818L15.75 4.06l4.236 4.237z" })); }; IconTestTube.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 { IconTestTube as default }; IconTestTube;