@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
33 lines (30 loc) • 1.16 kB
JavaScript
import _mergeJSXProps from './_virtual/helper.mjs';
import { iconSize, updateContextData } from './packages/tools/pie-icons-configs/configs-vue.mjs';
var IconChevronCollapse = {
name: 'IconChevronCollapse',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--chevronCollapse', 'IconChevronCollapse');
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: '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',
},
})]);
},
};
export { IconChevronCollapse as default };