@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
34 lines (29 loc) • 1.46 kB
JavaScript
;
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 IconFlag = {
name: 'IconFlag',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--flag', 'IconFlag');
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: {
fill: '#242E30',
d: 'M13.21 2.391a1.018 1.018 0 0 0-1.094.123c-1.776 1.391-2.94.778-4.296.061-1.575-.831-3.36-1.768-5.775.455l-.472.394.052 10.727v.201h1.383L2.99 11.23c1.707-1.54 2.748-.998 4.183-.237 1.505.797 3.377 1.777 5.932-.315.429-.358.683-.875.683-1.435V3.32c0-.394-.219-.753-.578-.928Zm-.805 1.61v5.233c0 .14-.061.271-.175.367-1.837 1.514-2.975.919-4.41.166-.805-.428-1.724-.91-2.774-.91-.7 0-1.373.21-2.056.64L2.964 4.07C4.688 2.487 5.738 3.04 7.181 3.8l.018-.035-.018.044c1.427.752 3.037 1.601 5.233.201l-.009-.009Z',
},
})]);
},
};
exports.default = IconFlag;