stream-chat-react-native-core
Version:
The official React Native and Expo components for Stream Chat, a service for building chat applications
43 lines • 1.71 kB
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MapPin = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactNativeSvg = require("react-native-svg");
var _jsxRuntime = require("react/jsx-runtime");
var _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/location.tsx";
var MapPin = ({
fill,
height,
pathFill,
size,
stroke,
width,
...rest
}) => {
var _ref, _ref2;
var color = (_ref = (_ref2 = stroke != null ? stroke : pathFill) != null ? _ref2 : fill) != null ? _ref : 'black';
return (0, _jsxRuntime.jsxs)(_reactNativeSvg.Svg, {
fill: 'none',
height: height != null ? height : size,
viewBox: '0 0 20 20',
width: width != null ? width : size,
...rest,
children: [(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M10 10.625C11.3807 10.625 12.5 9.50571 12.5 8.125C12.5 6.74429 11.3807 5.625 10 5.625C8.61929 5.625 7.5 6.74429 7.5 8.125C7.5 9.50571 8.61929 10.625 10 10.625Z",
stroke: color,
strokeWidth: 1.5,
strokeLinecap: "round",
strokeLinejoin: "round"
}), (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M16.25 8.125C16.25 13.75 10 18.125 10 18.125C10 18.125 3.75 13.75 3.75 8.125C3.75 6.4674 4.40848 4.87769 5.58058 3.70558C6.75269 2.53348 8.3424 1.875 10 1.875C11.6576 1.875 13.2473 2.53348 14.4194 3.70558C15.5915 4.87769 16.25 6.4674 16.25 8.125Z",
stroke: color,
strokeWidth: 1.5,
strokeLinecap: "round",
strokeLinejoin: "round"
})]
});
};
exports.MapPin = MapPin;
//# sourceMappingURL=location.js.map