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