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 {
15
15
import type { LayoutChangeEvent } from "react-native" ;
16
16
17
17
import { SkiaDomView } from "../views" ;
18
- import { SkiaDomView as SkiaDomViewWeb } from "../views/SkiaDomView.web" ;
19
18
import { Skia } from "../skia/Skia" ;
20
19
import type { TouchHandler , SkiaBaseViewProps } from "../views" ;
20
+ import { SkiaDomView2 } from "../views/SkiaDomView2" ;
21
21
22
22
import { SkiaRoot } from "./Reconciler" ;
23
23
import { NATIVE_DOM } from "./HostComponents" ;
@@ -105,7 +105,8 @@ export const Canvas = forwardRef<SkiaDomView, CanvasProps>(
105
105
) ;
106
106
} else {
107
107
return (
108
- < SkiaDomViewWeb
108
+ < SkiaDomView2
109
+ Skia = { Skia }
109
110
// eslint-disable-next-line @typescript-eslint/no-explicit-any
110
111
ref = { ref as any }
111
112
style = { style }
You can’t perform that action at this time.
0 commit comments