@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
52 lines (51 loc) • 2.53 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireWildcard(require("react"));
var _reactNativeSvg = require("react-native-svg");
var _jsxRuntime = require("react/jsx-runtime");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
const SVG_STYLE = {
alignSelf: 'center',
marginBottom: 8
};
const ResultIconBox = ({
style,
width = 64,
height = 41,
...restProps
}) => {
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Svg, {
...restProps,
style: style || SVG_STYLE,
width: width,
height: height,
viewBox: "0 0 64 41",
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
transform: "translate(0 1)",
fill: "none",
fillRule: "evenodd",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Ellipse, {
cx: "32",
cy: "33",
rx: "32",
ry: "7",
fill: "#f5f5f5"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.G, {
fillRule: "nonzero",
stroke: "#d9d9d9",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",
fill: "#fafafa"
})]
})]
})
});
};
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(ResultIconBox);
//# sourceMappingURL=result-icon-box.js.map
;