UNPKG

@vuduc0801/react-native-phosphor-icons

Version:

Since [Phosphor](https://phosphoricons.com/) does not support React Native, we have to convert all the SVGs to React Native SVGs.

40 lines (38 loc) 1.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _PushPinSimpleSlash = _interopRequireDefault(require("../regular/PushPinSimpleSlash")); var _PushPinSimpleSlash2 = _interopRequireDefault(require("../fill/PushPinSimpleSlash")); var _PushPinSimpleSlash3 = _interopRequireDefault(require("../bold/PushPinSimpleSlash")); var _jsxRuntime = require("react/jsx-runtime"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /* Generated code. Do not edit.*/ const weightMap = { fill: _PushPinSimpleSlash2.default, regular: _PushPinSimpleSlash.default, bold: _PushPinSimpleSlash3.default }; function PushPinSimpleSlash(props) { const { color = '#000', size = 24, weight = 'regular', mirrored = false, style } = props; const IconComponent = weightMap[weight]; return /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, { color: color, size: size, style: [style, mirrored ? { transform: [{ scaleX: -1 }] } : undefined] }); } var _default = exports.default = /*#__PURE__*/_react.default.memo(PushPinSimpleSlash); //# sourceMappingURL=PushPinSimpleSlash.js.map