@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
33 lines (30 loc) • 985 B
JavaScript
import _mergeJSXProps from './node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.mjs';
import { iconSize, updateContextData } from './packages/tools/pie-icons-configs/configs-vue.mjs';
var IconDrag = {
name: 'IconDrag',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--drag', 'IconDrag');
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: 'M15 9.531H1v1.313h14V9.53Z',
},
}), h('path', {
attrs: {
d: 'M15 5.156H1V6.47h14V5.156Z',
},
})]);
},
};
export { IconDrag as default };