@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
35 lines (30 loc) • 1.21 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./_virtual/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconPlaceholder = {
name: 'IconPlaceholder',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--placeholder', 'IconPlaceholder');
return h('svg', helper.default([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 16 16',
},
}, ctx.data]), [h('path', {
attrs: {
'fill-rule': 'evenodd',
d: 'M.083 0h15.834L16 .083v15.834l-.083.083H.083L0 15.917V.083zm15.75 15.834V.166H.166v15.668zM3.27 1h9.463A2.27 2.27 0 0 1 15 3.269v9.463A2.27 2.27 0 0 1 12.732 15H3.269A2.27 2.27 0 0 1 1 12.732V3.269A2.27 2.27 0 0 1 3.269 1',
'clip-rule': 'evenodd',
},
})]);
},
};
exports.default = IconPlaceholder;