@expo/styleguide-native
Version:
Foundational styles for Expo interfaces.
33 lines (32 loc) • 2.1 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const React = __importStar(require("react"));
const react_native_svg_1 = __importStar(require("react-native-svg"));
function StoreIcon(props) {
const { size, color, width, height } = props;
return (React.createElement(react_native_svg_1.default, Object.assign({ width: size || width || 20, height: size || height || 20, viewBox: "0 0 20 20", fill: "none" }, props),
React.createElement(react_native_svg_1.Path, { d: "M2.973 9.89v8.43h14.056V9.89", stroke: color || "#000", strokeWidth: 1.667 }),
React.createElement(react_native_svg_1.Path, { d: "M.979 9.037L3.234 1.82h4.88l-.82 7.217s-.902 1.353-3.158 1.353C1.881 10.39.98 9.037.98 9.037zm18.044 0l-2.256-7.218h-4.88l.82 7.218s.902 1.353 3.158 1.353c2.255 0 3.158-1.353 3.158-1.353z", stroke: color || "#000", strokeWidth: 1.64 }),
React.createElement(react_native_svg_1.Path, { d: "M12.707 9.037l-.82-7.218H8.114l-.82 7.218S7.745 10.39 10 10.39c2.256 0 2.707-1.353 2.707-1.353z", stroke: color || "#000", strokeWidth: 1.64 }),
React.createElement(react_native_svg_1.Path, { fill: color || "#000", d: "M7.251 13.584h5.5v4.736h-5.5z" })));
}
exports.default = StoreIcon;