@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
25 lines (22 loc) • 1.48 kB
JavaScript
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import React, { memo } from 'react';
import { SvgXml } from 'react-native-svg';
const SVG_STYLE = {
alignSelf: 'center'
};
const ResultIconEmpty = _ref => {
let {
style,
width = 90,
height = 90,
...restProps
} = _ref;
return SvgXml ? /*#__PURE__*/React.createElement(SvgXml, _extends({}, restProps, {
style: style || SVG_STYLE,
width: width,
height: height,
xml: `<svg width="${width}" height="${height}" viewBox="0 0 90 90" xmlns="http://www.w3.org/2000/svg"><g transform="translate(1 25)" fill="none" fill-rule="evenodd"><ellipse fill="#EDEFF2" cx="44" cy="50" rx="44" ry="8"/><path d="M62.333 0H25.667L11 18v31.75a2 2 0 0 0 2 2h62a2 2 0 0 0 2-2V18L62.333 0z" fill="#FFF"/><path d="M62.333 0L77 18v31.75a2 2 0 0 1-1.85 1.995l-.15.005H13a2 2 0 0 1-1.995-1.85L11 49.75V18L25.667 0h36.666zM50.75 39h-13.5a1.25 1.25 0 0 0 0 2.5h13.5a1.25 1.25 0 0 0 0-2.5zm9.99-36.75H27.26L14.465 18h12.87a2 2 0 0 1 2 2v6.5a2 2 0 0 0 2 2H56.36a2 2 0 0 0 2-2V20a2 2 0 0 1 2-2h13.178L60.739 2.25z" fill="#E1E3E6"/></g></svg>`
})) : null;
};
export default /*#__PURE__*/memo(ResultIconEmpty);
//# sourceMappingURL=result-icon-empty.js.map