You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
Hey. I work on Rtact JS. I connected the canvg library for IE 11 support. The code looks like this:
import Canvg from 'canvg';
svgAsPngUri (svg, {scale: 0.5, canvg: Canvg.fromString}). then (uri => {
iconImage.src = uri;
});
As a result, I get a blank picture. Without library Canvg, it works just fine.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey. I work on Rtact JS. I connected the canvg library for IE 11 support. The code looks like this:
import Canvg from 'canvg';
svgAsPngUri (svg, {scale: 0.5, canvg: Canvg.fromString}). then (uri => {
iconImage.src = uri;
});
As a result, I get a blank picture. Without library Canvg, it works just fine.
The text was updated successfully, but these errors were encountered: