Open Addibro opened 2 years ago
Hello!
I would like to add an line svg to an element, looking something like this:
h('a', {href: href, target: target}, [ props.children, h('svg', {height: '15px', width: '15px'}, h('path', ...)), ]),
But this is only rendering out <svg></svg>. Any suggestions? Thanks!
<svg></svg>
Hello!
I would like to add an line svg to an element, looking something like this:
But this is only rendering out
<svg></svg>
. Any suggestions? Thanks!