@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
33 lines (28 loc) • 1.02 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var _mergeJSXProps = require('@vue/babel-helper-vue-jsx-merge-props');
var configsVue = require('./pie-icons-configs/configs-vue.cjs');
var IconClose = {
name: 'IconClose',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--close', 'IconClose');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 16 16',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M11.868 3.205 8 7.072 4.133 3.205l-.928.927L7.073 8l-3.868 3.867.928.928L8 8.927l3.868 3.868.927-.928L8.928 8l3.867-3.868-.927-.927Z',
},
})]);
},
};
exports.default = IconClose;