@gf-ui/components
Version:
28 lines (22 loc) • 1.77 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-d66348cc.js');
const index$1 = require('./index-00c86599.js');
const svgData = {"name":"svg","type":"element","value":"","attributes":{"class":"icon","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg"},"children":[{"name":"path","type":"element","value":"","attributes":{"fill":"currentColor","d":"M330.666667 768a53.333333 53.333333 0 1 1 0 106.666667 53.333333 53.333333 0 0 1 0-106.666667z m384 0a53.333333 53.333333 0 1 1 0 106.666667 53.333333 53.333333 0 0 1 0-106.666667zM94.762667 160h54.741333a96 96 0 0 1 92.906667 71.786667l1.024 4.394666L256.64 298.666667 796.096 298.666667a64 64 0 0 1 62.677333 76.949333l-61.653333 298.666667A64 64 0 0 1 734.442667 725.333333H332.224a64 64 0 0 1-62.677333-51.050666l-60.586667-293.418667-0.405333 0.085333-27.733334-131.562666a32 32 0 0 0-28.309333-25.237334l-2.986667-0.149333H94.741333v-64h54.741334zM565.333333 405.333333h-64v74.666667H426.666667v64h74.666666V618.666667h64v-74.666667H640v-64h-74.666667V405.333333z"},"children":[]}],"_name":"add-cart-fill","_isColor":false};
const GfIconaddCartFill = class {
constructor(hostRef) {
index.registerInstance(this, hostRef);
this.size = 30;
this.styles = {};
this.color = "#606266";
this.rotate = 0;
this.spin = false;
this.opacity = 1;
}
render() {
const { size, styles, color, rotate, spin, opacity } = this;
const hostStyles = { width: size + 'px', height: size + 'px' };
return (index.h(index.Host, { style: hostStyles }, index.h(index$1.Icons, Object.assign({}, { svgData, size, styles, color, rotate, spin, opacity }))));
}
};
exports.gf_icon_add_cart_fill = GfIconaddCartFill;