@shopify/react-native-skia
Version:
High-performance React Native Graphics using Skia
11 lines (10 loc) • 378 B
TypeScript
import type { ReactNode } from "react";
import type { Skia } from "../skia/types";
export declare class SkiaRoot {
private root;
private container;
constructor(Skia: Skia, native?: boolean, redraw?: () => void, getNativeId?: () => number);
render(element: ReactNode): void;
unmount(): void;
get dom(): import("..").RenderNode<import("..").GroupProps>;
}