@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
41 lines (36 loc) • 1.51 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconPatterns = {
name: 'IconPatterns',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--patterns', 'IconPatterns');
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: {
d: 'M1.551 14.589h5.662V8.936H1.55v5.653Zm1.313-4.34H5.89v3.027H2.864V10.25Z',
},
}), h('path', {
attrs: {
d: 'M6.128 7.624a3.085 3.085 0 0 0 3.08-3.08 3.085 3.085 0 0 0-3.08-3.08 3.085 3.085 0 0 0-3.08 3.08 3.085 3.085 0 0 0 3.08 3.08Zm0-4.848c.97 0 1.767.797 1.767 1.768S7.099 6.31 6.128 6.31A1.774 1.774 0 0 1 4.36 4.544c0-.971.796-1.768 1.768-1.768Z',
},
}), h('path', {
attrs: {
d: 'm11.203 4.544-3.334 6.344h6.676l-3.334-6.344h-.008Zm0 2.817 1.163 2.214H10.04l1.164-2.214Z',
},
})]);
},
};
exports.default = IconPatterns;