File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ import type {
1515import type { LayoutChangeEvent } from "react-native" ;
1616
1717import { SkiaDomView } from "../views" ;
18- import { SkiaDomView as SkiaDomViewWeb } from "../views/SkiaDomView.web" ;
1918import { Skia } from "../skia/Skia" ;
2019import type { TouchHandler , SkiaBaseViewProps } from "../views" ;
20+ import { SkiaDomView2 } from "../views/SkiaDomView2" ;
2121
2222import { SkiaRoot } from "./Reconciler" ;
2323import { NATIVE_DOM } from "./HostComponents" ;
@@ -105,7 +105,8 @@ export const Canvas = forwardRef<SkiaDomView, CanvasProps>(
105105 ) ;
106106 } else {
107107 return (
108- < SkiaDomViewWeb
108+ < SkiaDomView2
109+ Skia = { Skia }
109110 // eslint-disable-next-line @typescript-eslint/no-explicit-any
110111 ref = { ref as any }
111112 style = { style }
You can’t perform that action at this time.
0 commit comments