xperiments / svg2ts

Convert Standard SVG / Parameterized* SVG to TypeScript code / Angular components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programmatically API

lndgalante opened this issue · comments

Hi @xperiments are you thinking on a programmatically API for svg2ts? or is there any way to use it like that?

something like:

const svg = `<svg>...</svg>`;
const component = svg2ts(svg);