@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
31 lines (29 loc) • 1.13 kB
JavaScript
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue';
export default {
name: 'IconChevronCollapseLarge',
props: {
size: iconSize.large,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--chevronCollapseLarge', 'IconChevronCollapseLarge');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 32 32',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M16 19.9c.488 0 .957.186 1.313.52l7 7.411-1.251 1.208-7.01-7.411h-.096l-7 7.402-1.268-1.199 7-7.411c.355-.334.824-.52 1.312-.52',
},
}), h('path', {
attrs: {
d: 'M15.947 10.312h.097l7-7.403 1.268 1.198-7 7.412a1.917 1.917 0 0 1-2.625 0l-7-7.412L8.939 2.9z',
},
})]);
},
};