Skip to content

Commit

Permalink
Update SVG Image support (#2450)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon authored May 28, 2024
1 parent 7284ec6 commit fc55cb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/docs/image-svg.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,15 @@ export const SVG = () => {
## SVG Support

The [SVG module from Skia](https://github.com/google/skia/tree/main/modules/svg) displays SVGs as images.
Its capabilities and compliance level are pretty strong.
We expect most SVG files to render correctly out of the box, especially if they come from Figma or Illustrator.
However, please be aware of some of the quirks below when using it.
Text elements current won't render and any external XML elements such as XLink or CSS won't render.
If your SVG doesn't render correctly and you've considered all the items below, please file [an issue](https://github.com/Shopify/react-native-skia/issues/new).

### Text

Currently text rendering is not supported

### CSS Styles

CSS styles included in SVG are not supported.
Expand Down
2 changes: 1 addition & 1 deletion example/src/Examples/Neumorphism/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Neumorphism } from "./Elements";
export { Neumorphism } from "./Dashboard";

0 comments on commit fc55cb4

Please sign in to comment.