@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
37 lines (32 loc) • 1.46 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconLocationPin = {
name: 'IconLocationPin',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--locationPin', 'IconLocationPin');
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: 'M11.94 3.178a5.578 5.578 0 0 0-7.88 0 5.58 5.58 0 0 0 0 7.881L8 15l3.94-3.94a5.58 5.58 0 0 0 0-7.882Zm-.928 6.954L8 13.144l-3.013-3.012a4.266 4.266 0 0 1 0-6.026A4.248 4.248 0 0 1 8 2.86c1.09 0 2.182.415 3.012 1.246a4.267 4.267 0 0 1 0 6.026Z',
},
}), h('path', {
attrs: {
d: 'M8 4.759a2.409 2.409 0 0 0-2.406 2.406A2.409 2.409 0 0 0 8 9.571a2.409 2.409 0 0 0 2.407-2.406A2.409 2.409 0 0 0 8 4.76Zm0 3.5A1.095 1.095 0 0 1 8 6.07 1.095 1.095 0 0 1 8 8.26Z',
},
})]);
},
};
exports.default = IconLocationPin;