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
There's no way to constrain the React function return types to valid SVG.
Asset definitions could be functions returning svgjs library instances but this is rather constraining, forces the user to learn a new library, and looses some of the advantages of JSX syntax (readability, composability).
dompurify library can sanitize and report exclusions.
The text was updated successfully, but these errors were encountered:
There's no way to constrain the React function return types to valid SVG.
Asset definitions could be functions returning svgjs library instances but this is rather constraining, forces the user to learn a new library, and looses some of the advantages of JSX syntax (readability, composability).
dompurify library can sanitize and report exclusions.
The text was updated successfully, but these errors were encountered: