UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.28 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 IconDna = 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: "M18.709 19.172v2.578a1.125 1.125 0 1 1-2.25 0v-2.578a5.6 5.6 0 0 0-3.11-5.032L8.81 11.872a7.83 7.83 0 0 1-4.353-7.044V2.25a1.125 1.125 0 0 1 2.25 0v2.578a5.6 5.6 0 0 0 3.11 5.032l4.538 2.268a7.83 7.83 0 0 1 4.353 7.044m-4.875-.047H6.708a5.6 5.6 0 0 1 .22-1.5h5.269a1.125 1.125 0 1 0 0-2.25H8.186c.094-.103.187-.204.293-.3a1.125 1.125 0 0 0-1.542-1.64 7.9 7.9 0 0 0-2.479 5.737v2.578a1.125 1.125 0 1 0 2.25 0v-.375h7.126a1.125 1.125 0 0 0 0-2.25m3.75-18a1.125 1.125 0 0 0-1.125 1.125v.375H9.333a1.125 1.125 0 0 0 0 2.25h7.126a5.6 5.6 0 0 1-.22 1.5h-5.27a1.125 1.125 0 0 0 0 2.25h4.012a4 4 0 0 1-.293.3 1.125 1.125 0 0 0 1.542 1.64 7.9 7.9 0 0 0 2.479-5.737V2.25a1.125 1.125 0 0 0-1.125-1.125" })); } 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: "M18.75 19.172v2.578a.75.75 0 1 1-1.5 0v-2.578a5.97 5.97 0 0 0-3.317-5.367l-4.537-2.268A7.46 7.46 0 0 1 5.25 4.83V2.25a.75.75 0 0 1 1.5 0v2.58a5.97 5.97 0 0 0 3.317 5.367l4.537 2.268a7.46 7.46 0 0 1 4.146 6.708M15 18.75H6.766c.036-.51.138-1.015.303-1.5h6.816a.75.75 0 1 0 0-1.5h-6.06a6 6 0 0 1 1.373-1.413.75.75 0 1 0-.888-1.211 7.53 7.53 0 0 0-3.06 6.046v2.578a.75.75 0 1 0 1.5 0v-1.5H15a.75.75 0 1 0 0-1.5M18 1.5a.75.75 0 0 0-.75.75v1.5H9a.75.75 0 0 0 0 1.5h8.234a6 6 0 0 1-.303 1.5h-6.816a.75.75 0 1 0 0 1.5h6.06a6 6 0 0 1-1.373 1.414.75.75 0 1 0 .888 1.21 7.53 7.53 0 0 0 3.06-6.045V2.25A.75.75 0 0 0 18 1.5" })); }; IconDna.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 { IconDna as default }; IconDna;