@shopify/react-native-skia
Version:
High-performance React Native Graphics using Skia
12 lines (11 loc) • 420 B
TypeScript
import type { GroupProps, DrawingContext, RenderNode, SkDOM } from "../dom/types";
import type { Skia } from "../skia/types";
export declare class Container {
redraw: () => void;
getNativeId: () => number;
private _root;
Sk: SkDOM;
constructor(Skia: Skia, redraw: () => void, getNativeId: () => number, native: boolean);
draw(ctx: DrawingContext): void;
get root(): RenderNode<GroupProps>;
}