@semcore/icon
Version:
Semrush Icon Component
29 lines • 1.68 kB
JavaScript
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import React from 'react';
import { createBaseComponent } from '@semcore/core';
import Icon from '@semcore/icon';
function Pin({
width = '16',
height = '16',
viewBox = '0 0 16 16',
...props
}, ref) {
return /*#__PURE__*/React.createElement(Icon, _extends({
ref: ref,
"data-name": "Pin",
"data-group": "m",
width: width,
height: height,
viewBox: viewBox
}, props), /*#__PURE__*/React.createElement("path", {
d: "M8 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",
shapeRendering: "geometricPrecision"
}), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M8 0a7.115 7.115 0 0 0-4.94 1.978A6.68 6.68 0 0 0 1 6.784c0 2.763 1.572 4.945 3.038 6.388a15.85 15.85 0 0 0 3.081 2.35l.022.012a.286.286 0 0 1 .005.003h.002l.015.01L8 16l.837-.453.015-.01.007-.003.022-.013a9.021 9.021 0 0 0 .296-.176 15.851 15.851 0 0 0 2.785-2.174C13.428 11.73 15 9.548 15 6.785a6.68 6.68 0 0 0-2.06-4.806A7.116 7.116 0 0 0 8 0ZM4.455 3.398A5.106 5.106 0 0 1 8 1.983c1.335 0 2.61.512 3.545 1.415A4.705 4.705 0 0 1 13 6.784c0 1.994-1.142 3.696-2.447 4.98A13.955 13.955 0 0 1 8 13.735a13.956 13.956 0 0 1-2.553-1.97C4.142 10.48 3 8.778 3 6.784c0-1.265.52-2.483 1.455-3.386Z",
shapeRendering: "geometricPrecision"
}));
}
Pin.displayName = 'Pin';
export default createBaseComponent(Pin);