UNPKG

@td-design/react-native

Version:

react-native UI组件库

28 lines 2.57 kB
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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'; import { px } from '../helpers/normalize'; import { getIconColor } from './helper'; let IconEyeopen = _ref => { let { size, color, ...rest } = _ref; const xml = ` <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M12 16.0002C11.2267 16.0002 10.4707 15.7709 9.82772 15.3412C9.18472 14.9116 8.68357 14.3009 8.38763 13.5865C8.09169 12.872 8.01426 12.0858 8.16513 11.3274C8.316 10.5689 8.68839 9.87221 9.23521 9.32539C9.78203 8.77857 10.4787 8.40618 11.2372 8.25531C11.9957 8.10444 12.7818 8.18187 13.4963 8.47781C14.2107 8.77375 14.8214 9.2749 15.251 9.9179C15.6807 10.5609 15.91 11.3169 15.91 12.0902C15.91 13.1272 15.4981 14.1217 14.7648 14.855C14.0315 15.5882 13.037 16.0002 12 16.0002ZM12 9.68018C11.5233 9.68018 11.0574 9.82152 10.6611 10.0863C10.2648 10.3511 9.95585 10.7275 9.77345 11.1679C9.59104 11.6083 9.54332 12.0929 9.63631 12.5603C9.7293 13.0278 9.95883 13.4573 10.2959 13.7943C10.6329 14.1313 11.0623 14.3609 11.5298 14.4539C11.9973 14.5469 12.4819 14.4991 12.9223 14.3167C13.3626 14.1343 13.739 13.8254 14.0038 13.4291C14.2687 13.0328 14.41 12.5668 14.41 12.0902C14.4153 11.7703 14.3569 11.4526 14.2382 11.1556C14.1194 10.8586 13.9427 10.5882 13.7184 10.3601C13.4941 10.1321 13.2266 9.95098 12.9316 9.82738C12.6366 9.70377 12.3199 9.64013 12 9.64018V9.68018Z" fill="${getIconColor(color, 0, '#999999')}"/> <path d="M12 20.11C7.86 20.11 4.15 17.2 2.06 12.35C2.02067 12.2566 2.00041 12.1563 2.00041 12.055C2.00041 11.9537 2.02067 11.8534 2.06 11.76C4.15 6.9 7.86 4 12 4C16.14 4 19.85 6.9 21.94 11.76C21.9793 11.8534 21.9996 11.9537 21.9996 12.055C21.9996 12.1563 21.9793 12.2566 21.94 12.35C19.85 17.2 16.14 20.1 12 20.11V20.11ZM3.57 12.05C5.43 16.16 8.57 18.6 12 18.61C15.43 18.62 18.57 16.16 20.43 12.05C18.57 7.94 15.44 5.5 12 5.5C8.56 5.5 5.43 7.94 3.57 12.05Z" fill="${getIconColor(color, 1, '#999999')}"/> </svg> `; return /*#__PURE__*/React.createElement(SvgXml, _extends({ xml: xml, width: size, height: size }, rest)); }; IconEyeopen.defaultProps = { size: px(16) }; export default /*#__PURE__*/memo(IconEyeopen); //# sourceMappingURL=IconEyeopen.js.map