UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

47 lines 2.86 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 IconLinkedinLogo = 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: "M20.75 1.875H4.25A1.875 1.875 0 0 0 2.375 3.75v16.5a1.875 1.875 0 0 0 1.875 1.875h16.5a1.875 1.875 0 0 0 1.875-1.875V3.75a1.875 1.875 0 0 0-1.875-1.875m-.375 18H4.625V4.125h15.75zM11 16.5v-5.25a1.125 1.125 0 0 1 2.01-.695 3.75 3.75 0 0 1 5.49 3.32V16.5a1.125 1.125 0 1 1-2.25 0v-2.625a1.5 1.5 0 1 0-3 0V16.5a1.125 1.125 0 1 1-2.25 0m-1.5-5.25v5.25a1.125 1.125 0 0 1-2.25 0v-5.25a1.125 1.125 0 0 1 2.25 0M6.875 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 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: "M20.25 2.25H3.75a1.5 1.5 0 0 0-1.5 1.5v16.5a1.5 1.5 0 0 0 1.5 1.5h16.5a1.5 1.5 0 0 0 1.5-1.5V3.75a1.5 1.5 0 0 0-1.5-1.5m0 18H3.75V3.75h16.5zM9 10.5v6a.75.75 0 1 1-1.5 0v-6a.75.75 0 1 1 1.5 0m8.25 2.625V16.5a.75.75 0 1 1-1.5 0v-3.375a1.875 1.875 0 1 0-3.75 0V16.5a.75.75 0 1 1-1.5 0v-6a.75.75 0 0 1 1.48-.167 3.375 3.375 0 0 1 5.27 2.792m-7.875-5.25a1.125 1.125 0 1 1-2.25 0 1.125 1.125 0 0 1 2.25 0" })); }; IconLinkedinLogo.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 { IconLinkedinLogo as default }; IconLinkedinLogo;