@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
39 lines (37 loc) • 2.4 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: 'IconPinCode',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--pinCode', 'IconPinCode');
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: 'M9.689 9.584a.78.78 0 0 0-.175-.315l-.665.463.236-.778a.869.869 0 0 0-.718 0l.245.778-.665-.463a.997.997 0 0 0-.183.315c-.035.114-.053.254-.035.359l.813.017-.656.49c.053.088.149.193.245.271.105.079.236.123.333.149l.262-.77.263.77c.096-.026.227-.079.323-.149a.998.998 0 0 0 .245-.271l-.656-.49.814-.018a.763.763 0 0 0-.044-.358h.018Z',
},
}), h('path', {
attrs: {
d: 'M12.156 9.584a.78.78 0 0 0-.175-.315l-.665.463.236-.778a.869.869 0 0 0-.717 0l.245.778-.665-.463a.996.996 0 0 0-.184.315c-.035.114-.052.254-.035.359l.814.017-.656.49c.052.088.148.193.245.271.105.079.236.123.332.149l.263-.77.262.77c.096-.026.228-.079.324-.149a.998.998 0 0 0 .245-.271l-.656-.49.813-.018a.763.763 0 0 0-.043-.358h.017Z',
},
}), h('path', {
attrs: {
d: 'M14.676 9.943a.762.762 0 0 0-.044-.36.78.78 0 0 0-.175-.314l-.665.463.237-.778a.869.869 0 0 0-.718 0l.245.778-.665-.463a.998.998 0 0 0-.184.315c-.035.114-.052.254-.035.359l.814.017-.656.49c.052.088.149.193.245.271.105.079.236.123.332.149l.263-.77.262.77c.097-.026.228-.079.324-.149a.998.998 0 0 0 .245-.271l-.656-.49.814-.018h.017Z',
},
}), h('path', {
attrs: {
d: 'M13.127 11.762h-1.312v.29c-.753.533-2.345 1.417-4.594 1.417-.805 0-2.826-.14-4.594-1.418v-4.27h9.188v.307h1.312v-1.62h-8.75V5.376a2.85 2.85 0 0 1 2.844-2.844c1.566 0 2.704 1.164 2.818 2.625h1.312C11.237 2.97 9.435 1.22 7.221 1.22S3.065 3.082 3.065 5.375v1.094h-1.75v6.221l.245.201c2.152 1.707 4.672 1.89 5.661 1.89 2.949 0 4.944-1.321 5.661-1.89l.245-.201v-.928Z',
},
})]);
},
};