Most of the case, toHtml that exports Icon to Html works well. However, I have to follow the manual copy-and-paste route when embedding an Icon within Svg. Besides the inconvenience, this may also results in code duplication if I already imported the FeatherIcons library. Hope we can add a toSvg function to address this issue:
Most of the case,
toHtml
that exportsIcon
toHtml
works well. However, I have to follow the manual copy-and-paste route when embedding anIcon
withinSvg
. Besides the inconvenience, this may also results in code duplication if I already imported the FeatherIcons library. Hope we can add atoSvg
function to address this issue: