Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

problem with Canvg library #251

@AStrubitsky

Description

@AStrubitsky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions