@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1.12 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: 'IconAlertTriangleFilledLarge',
props: {
size: iconSize.large,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--alertTriangleFilledLarge', 'IconAlertTriangleFilledLarge');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 32 32',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'm28.582 22.981-10.5-16.817a2.432 2.432 0 0 0-4.148 0L3.434 22.98a2.572 2.572 0 0 0-.07 2.625A2.414 2.414 0 0 0 5.5 26.875h21a2.415 2.415 0 0 0 2.134-1.277 2.573 2.573 0 0 0-.052-2.617Zm-12.583.175a1.531 1.531 0 1 1 0-3.062 1.531 1.531 0 0 1 0 3.062ZM16.875 12v6.125h-1.75V12h1.75Z',
},
})]);
},
};