@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1.18 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: 'IconDollar',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--dollar', 'IconDollar');
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: 'M8.612 7.309c-1.47-.385-2.625-.735-2.625-1.75S7.037 4.176 8 4.176a3.7 3.7 0 0 1 2.695 1.138l.997-1.033A4.43 4.43 0 0 0 8.77 2.794V1.096H7.387v1.698c-1.75.192-2.975 1.19-2.975 2.87 0 1.837 1.575 2.555 3.15 2.975s2.625.682 2.625 1.697-1.05 1.488-2.24 1.488a3.72 3.72 0 0 1-2.922-1.2L4.01 11.72a4.57 4.57 0 0 0 3.22 1.53v1.698h1.417V13.25c1.803-.21 3.115-1.19 3.115-2.975S10.17 7.71 8.612 7.309',
},
})]);
},
};