@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
37 lines (32 loc) • 1.23 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./_virtual/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconChevronCollapse = {
name: 'IconChevronCollapse',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--chevronCollapse', 'IconChevronCollapse');
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: 'M7.972 9.66c.267 0 .524.1.721.281l3.51 3.658-.936.875-3.308-3.387-3.308 3.387-.901-.937 3.5-3.596c.197-.18.454-.28.722-.28',
},
}), h('path', {
attrs: {
d: 'm12.244 2.373-3.5 3.596a1.07 1.07 0 0 1-1.444 0L3.79 2.312l.937-.875 3.307 3.385 3.308-3.385z',
},
})]);
},
};
exports.default = IconChevronCollapse;