@semcore/icon
Version:
Semrush Icon Component
31 lines • 1.78 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 = '24',
height = '24',
viewBox = '0 0 24 24',
...props
}, ref) {
return /*#__PURE__*/React.createElement(Icon, _extends({
ref: ref,
"data-name": "Pin",
"data-group": "l",
width: width,
height: height,
viewBox: viewBox
}, props), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M16 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm-2 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",
shapeRendering: "geometricPrecision"
}), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M12 1a8.865 8.865 0 0 0-6.379 2.733A9.43 9.43 0 0 0 3 10.28c0 3.764 1.998 6.774 3.928 8.813a21.169 21.169 0 0 0 4.04 3.305l.028.018.009.005.003.002.016.01L12 23l.976-.567.016-.01.003-.002.009-.005.029-.018a21.275 21.275 0 0 0 .387-.248 21.165 21.165 0 0 0 3.651-3.058C19.003 17.055 21 14.045 21 10.28a9.429 9.429 0 0 0-2.621-6.547A8.865 8.865 0 0 0 12 1ZM7.065 5.107A6.857 6.857 0 0 1 12 2.986c1.842 0 3.619.757 4.935 2.121A7.451 7.451 0 0 1 19 10.28c0 3.044-1.62 5.589-3.386 7.453A19.01 19.01 0 0 1 12 20.697a19.012 19.012 0 0 1-3.615-2.964C6.621 15.869 5 13.324 5 10.28a7.45 7.45 0 0 1 2.065-5.173Z",
shapeRendering: "geometricPrecision"
}));
}
Pin.displayName = 'Pin';
export default createBaseComponent(Pin);