UNPKG

@styled-icons/simple-icons

Version:

Simple Icons available as Styled Components

43 lines (34 loc) 2.88 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.XamarinDimensions = exports.Xamarin = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var React = _interopRequireWildcard(require("react")); var _styledIcon = require("@styled-icons/styled-icon"); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } var Xamarin = /*#__PURE__*/React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg" }; return /*#__PURE__*/React.createElement(_styledIcon.StyledIconBase, (0, _extends2.default)({ iconAttrs: attrs, iconVerticalAlign: "middle", iconViewBox: "0 0 24 24" }, props, { ref: ref }), /*#__PURE__*/React.createElement("path", { d: "M6.925 1.323a1.904 1.904 0 0 0-1.609.93L.241 11.07a1.918 1.918 0 0 0 0 1.862l5.075 8.816c.326.56.96.929 1.609.93h10.15a1.904 1.904 0 0 0 1.609-.93l5.075-8.816a1.918 1.918 0 0 0 0-1.862l-5.075-8.816a1.904 1.904 0 0 0-1.609-.93zm.092 5.157a.22.22 0 0 1 .043 0h1.75a.23.23 0 0 1 .192.114l2.97 5.292a.228.228 0 0 1 .028.086.228.228 0 0 1 .028-.086l2.963-5.292a.231.231 0 0 1 .198-.114h1.751c.155.002.271.197.199.334L14.239 12l2.9 5.179c.08.138-.04.342-.199.34h-1.75a.232.232 0 0 1-.2-.12l-2.962-5.292A.228.228 0 0 1 12 12.02a.228.228 0 0 1-.028.086l-2.97 5.292a.231.231 0 0 1-.192.12H7.06c-.16.002-.278-.202-.199-.34L9.761 12l-2.9-5.186c-.07-.125.015-.307.156-.334Z" })); }); exports.Xamarin = Xamarin; Xamarin.displayName = 'Xamarin'; var XamarinDimensions = { height: 24, width: 24 }; exports.XamarinDimensions = XamarinDimensions;