UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 3.17 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 IconIdentificationCard = 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: "M13.875 10.126A1.125 1.125 0 0 1 15 9h2.625a1.125 1.125 0 1 1 0 2.25H15a1.125 1.125 0 0 1-1.125-1.124m3.75 2.625H15.75a1.125 1.125 0 0 0 0 2.25h1.875a1.125 1.125 0 1 0 0-2.25m4.5-7.5v13.5a1.875 1.875 0 0 1-1.875 1.874H3.75a1.875 1.875 0 0 1-1.875-1.875V5.25A1.875 1.875 0 0 1 3.75 3.375h16.5a1.875 1.875 0 0 1 1.875 1.875m-2.25.374H4.125v12.75h15.75zM5.464 14.941c.27-.639.697-1.199 1.242-1.628a3.375 3.375 0 1 1 5.338 0c.545.43.973.99 1.243 1.628a1.125 1.125 0 1 1-2.076.869c-.291-.698-1.047-1.184-1.836-1.184s-1.544.487-1.837 1.184a1.126 1.126 0 1 1-2.074-.869m2.786-3.69a1.125 1.125 0 1 0 2.25 0 1.125 1.125 0 0 0-2.25 0" })); } 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 10.5a.75.75 0 0 1-.75.75h-3.75a.75.75 0 1 1 0-1.5H18a.75.75 0 0 1 .75.75M18 12.75h-3.75a.75.75 0 1 0 0 1.5H18a.75.75 0 1 0 0-1.5m3.75-7.5v13.5a1.5 1.5 0 0 1-1.5 1.5H3.75a1.5 1.5 0 0 1-1.5-1.5V5.25a1.5 1.5 0 0 1 1.5-1.5h16.5a1.5 1.5 0 0 1 1.5 1.5m-1.5 13.5V5.25H3.75v13.5zm-7.525-3.187a.75.75 0 1 1-1.453.374c-.246-.961-1.224-1.687-2.273-1.687s-2.026.726-2.274 1.688a.75.75 0 0 1-1.453-.376 3.74 3.74 0 0 1 1.612-2.188 3 3 0 1 1 4.23 0c.794.5 1.37 1.282 1.612 2.188M9 12.75a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3" })); }; IconIdentificationCard.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 { IconIdentificationCard as default }; IconIdentificationCard;