@expo/styleguide-native
Version:
Foundational styles for Expo interfaces.
34 lines (33 loc) • 2.28 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 QuestionMarkIcon(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.G, { clipPath: "url(#question-mark-icon_svg__question-mark-icon_svg__clip0)" },
React.createElement(react_native_svg_1.Path, { d: "M7.888 14.052h3.175v-.248c.019-2.021.677-2.946 2.23-3.9 1.755-1.048 2.85-2.478 2.85-4.66C16.144 2.02 13.638 0 9.996 0 6.66 0 3.951 1.85 3.856 5.472H7.25c.086-1.792 1.382-2.65 2.726-2.65 1.459 0 2.631.972 2.631 2.469 0 1.334-.886 2.25-2.04 2.974-1.687 1.049-2.66 2.107-2.679 5.539v.248zM9.557 20c1.125 0 2.087-.934 2.097-2.097-.01-1.144-.972-2.078-2.097-2.078-1.163 0-2.107.934-2.098 2.078A2.085 2.085 0 009.557 20z", fill: color || "#000" })),
React.createElement(react_native_svg_1.Defs, null,
React.createElement(react_native_svg_1.ClipPath, { id: "question-mark-icon_svg__question-mark-icon_svg__clip0" },
React.createElement(react_native_svg_1.Path, { fill: "#fff", d: "M0 0h20v20H0z" })))));
}
exports.default = QuestionMarkIcon;