UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

7 lines (6 loc) 2.43 kB
import { IconWrapper } from '../runtime'; export var getIconBytedSwitchButtonSvgHtml = function getIconBytedSwitchButtonSvgHtml(props) { var _props$colors, _props$colors2, _props$colors3, _props$colors4, _props$colors5, _props$colors6, _props$colors7, _props$colors8; return "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"".concat(props.size, "\" height=\"").concat(props.size, "\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect width=\"48\" height=\"48\" fill=\"white\" fill-opacity=\"0.01\"/>\n <rect x=\"4\" y=\"4\" width=\"40\" height=\"16\" rx=\"8\" fill=\"").concat((_props$colors = props.colors) === null || _props$colors === void 0 ? void 0 : _props$colors[1], "\" stroke=\"").concat((_props$colors2 = props.colors) === null || _props$colors2 === void 0 ? void 0 : _props$colors2[0], "\" stroke-width=\"").concat(props.strokeWidth, "\" stroke-linejoin=\"").concat(props.strokeLinejoin, "\"/>\n <rect x=\"4\" y=\"28\" width=\"40\" height=\"16\" rx=\"8\" fill=\"").concat((_props$colors3 = props.colors) === null || _props$colors3 === void 0 ? void 0 : _props$colors3[1], "\" stroke=\"").concat((_props$colors4 = props.colors) === null || _props$colors4 === void 0 ? void 0 : _props$colors4[0], "\" stroke-width=\"").concat(props.strokeWidth, "\" stroke-linejoin=\"").concat(props.strokeLinejoin, "\"/>\n <path d=\"M36 14C37.1046 14 38 13.1046 38 12C38 10.8954 37.1046 10 36 10C34.8954 10 34 10.8954 34 12C34 13.1046 34.8954 14 36 14Z\" fill=\"").concat((_props$colors5 = props.colors) === null || _props$colors5 === void 0 ? void 0 : _props$colors5[3], "\" stroke=\"").concat((_props$colors6 = props.colors) === null || _props$colors6 === void 0 ? void 0 : _props$colors6[2], "\" stroke-width=\"").concat(props.strokeWidth, "\" stroke-linejoin=\"").concat(props.strokeLinejoin, "\"/>\n <path d=\"M12 38C13.1046 38 14 37.1046 14 36C14 34.8954 13.1046 34 12 34C10.8954 34 10 34.8954 10 36C10 37.1046 10.8954 38 12 38Z\" fill=\"").concat((_props$colors7 = props.colors) === null || _props$colors7 === void 0 ? void 0 : _props$colors7[3], "\" stroke=\"").concat((_props$colors8 = props.colors) === null || _props$colors8 === void 0 ? void 0 : _props$colors8[2], "\" stroke-width=\"").concat(props.strokeWidth, "\" stroke-linejoin=\"").concat(props.strokeLinejoin, "\"/>\n</svg>"); }; export default IconWrapper('byted-switch-button', false, getIconBytedSwitchButtonSvgHtml);