UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.13 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 IconCertificate = 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: "M11.5 13.125a1.125 1.125 0 0 1-1.125 1.125H6.25a1.125 1.125 0 1 1 0-2.25h4.125a1.125 1.125 0 0 1 1.125 1.125M10.375 8.25H6.25a1.125 1.125 0 0 0 0 2.25h4.125a1.125 1.125 0 1 0 0-2.25m11.25 7.42v5.705a1.125 1.125 0 0 1-1.683.977l-2.067-1.181-2.062 1.18a1.125 1.125 0 0 1-1.688-.976v-2.25H3.25a1.875 1.875 0 0 1-1.875-1.875v-12A1.875 1.875 0 0 1 3.25 3.375h16.5a1.875 1.875 0 0 1 1.875 1.875v3.08a5.24 5.24 0 0 1 0 7.34m-3.75-.67a3 3 0 1 0 0-5.999 3 3 0 0 0 0 5.999m-3.75 1.875v-1.206a5.25 5.25 0 0 1 5.25-8.7V5.625H3.625v11.25zm5.25 2.561v-2.405a5.24 5.24 0 0 1-3 0v2.405l.942-.538a1.13 1.13 0 0 1 1.116 0z" })); } 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: "M12 12.75a.75.75 0 0 1-.75.75h-4.5a.75.75 0 1 1 0-1.5h4.5a.75.75 0 0 1 .75.75M11.25 9h-4.5a.75.75 0 0 0 0 1.5h4.5a.75.75 0 1 0 0-1.5m10.5 6.138V21a.75.75 0 0 1-1.125.656l-2.25-1.288-2.25 1.288A.75.75 0 0 1 15 21v-2.25H3.75a1.5 1.5 0 0 1-1.5-1.5v-12a1.5 1.5 0 0 1 1.5-1.5h16.5a1.5 1.5 0 0 1 1.5 1.5v2.862a4.865 4.865 0 0 1 0 7.026M15 17.25v-2.112a4.875 4.875 0 0 1 5.25-8.013V5.25H3.75v12zm5.25-1.125a4.86 4.86 0 0 1-3.75 0v3.583l1.5-.859a.75.75 0 0 1 .744 0l1.5.86zm1.5-4.5a3.375 3.375 0 1 0-6.75 0 3.375 3.375 0 0 0 6.75 0" })); }; IconCertificate.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 { IconCertificate as default }; IconCertificate;