UNPKG

stream-chat-react-native-core

Version:

The official React Native and Expo components for Stream Chat, a service for building chat applications

37 lines 1.88 kB
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.Pin = 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/pin.tsx"; var Pin = ({ 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.jsx)(_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: "M7.52271 12.4773L3.75006 16.25M17.9422 7.68279C18.0594 7.56559 18.1252 7.40668 18.1252 7.24099C18.1252 7.0753 18.0594 6.9164 17.9422 6.7992L13.2032 2.05779C13.086 1.94067 12.9271 1.87488 12.7614 1.87488C12.5957 1.87488 12.4368 1.94067 12.3196 2.05779L7.84303 6.54685C7.84303 6.54685 5.67506 5.46326 3.35943 7.33201C3.29077 7.38697 3.23447 7.45581 3.19424 7.53402C3.154 7.61224 3.13072 7.69806 3.12593 7.78589C3.12114 7.87371 3.13493 7.96156 3.16642 8.04369C3.19791 8.12581 3.24637 8.20037 3.30865 8.26248L11.7383 16.6914C11.8015 16.7541 11.8773 16.8025 11.9606 16.8336C12.044 16.8646 12.133 16.8775 12.2218 16.8713C12.3105 16.8652 12.3969 16.8402 12.4752 16.798C12.5535 16.7558 12.6219 16.6973 12.6758 16.6265C13.3313 15.7547 14.361 13.9633 13.4657 12.1734L17.9422 7.68279Z", stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5 }) }); }; exports.Pin = Pin; //# sourceMappingURL=pin.js.map