@gf-ui/components
Version:
28 lines (22 loc) • 1.29 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":"M214.677333 542.122667l0.042667-64.405334 477.653333-0.298666-225.301333-225.322667 45.568-45.568 303.424 303.424L512.213333 813.781333l-45.504-45.504 226.453334-226.453333-478.485334 0.298667z"},"children":[]}],"_name":"rightarrow","_isColor":false};
const GfIconrightarrow = 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_rightarrow = GfIconrightarrow;