From 878222a4f1779761c17a512fc34a449b89b2da5a Mon Sep 17 00:00:00 2001 From: William Candillon Date: Fri, 21 Jan 2022 12:20:37 +0100 Subject: [PATCH] revert example --- example/src/Examples/API/SVG.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/example/src/Examples/API/SVG.tsx b/example/src/Examples/API/SVG.tsx index 3cc1efd3c8..0885a26d24 100644 --- a/example/src/Examples/API/SVG.tsx +++ b/example/src/Examples/API/SVG.tsx @@ -1,15 +1,11 @@ import React from "react"; import { Dimensions } from "react-native"; -import { Canvas, ImageSVG, Skia, useSVG } from "@shopify/react-native-skia"; +import { Canvas, ImageSVG, useSVG } from "@shopify/react-native-skia"; const { width, height } = Dimensions.get("window"); -const svg = Skia.SVG.MakeFromString( - "" -); - export const SVG = () => { - // const svg = useSVG(require("./tiger.svg")); + const svg = useSVG(require("./tiger.svg")); if (svg === null) { return null; }