@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
26 lines (24 loc) • 991 B
JavaScript
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue';
export default {
name: 'IconStop',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--stop', 'IconStop');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M10.56 3.25H5.44c-1.21 0-2.19.98-2.19 2.19v5.12c0 1.21.98 2.19 2.19 2.19h5.12c1.21 0 2.19-.98 2.19-2.19V5.44c0-1.21-.98-2.19-2.19-2.19Zm.69 7.31c0 .38-.31.69-.69.69H5.44c-.38 0-.69-.31-.69-.69V5.44c0-.38.31-.69.69-.69h5.12c.38 0 .69.31.69.69v5.12Z',
},
})]);
},
};