@catho/quantum
Version:
Catho react components
52 lines (51 loc) • 1.89 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var StyledSvg = _styledComponents["default"].svg.withConfig({
displayName: "FacebookIcon__StyledSvg",
componentId: "sc-13wufah-0"
})(["display:inline-block;"]);
var FacebookIcon = function FacebookIcon(_ref) {
var _ref$size = _ref.size,
size = _ref$size === void 0 ? '48' : _ref$size,
title = _ref.title;
var SVGOriginalHeight = 402;
var SVGOriginalWidth = 582;
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(StyledSvg, {
role: "img",
"aria-labelledby": "facebook-title",
xmlns: "http://www.w3.org/2000/svg",
width: size,
height: size,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
id: "facebook-title",
children: title
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
fill: "none",
id: "canvas_background",
height: SVGOriginalHeight,
width: SVGOriginalWidth,
y: "-1",
x: "-1"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#ffffff",
id: "svg_2",
d: "m13,10l3,0l0,3l-3,0l0,7l-3,0l0,-7l-3,0l0,-3l3,0l0,-1.255c0,-1.189 0.374,-2.691 1.118,-3.512c0.744,-0.823 1.673,-1.233 2.786,-1.233l2.096,0l0,3l-2.1,0c-0.498,0 -0.9,0.402 -0.9,0.899l0,2.101z"
})
})]
});
};
FacebookIcon.propTypes = {
size: _propTypes["default"].string,
title: _propTypes["default"].string.isRequired
};
var _default = exports["default"] = FacebookIcon;