@shopify/react-native-skia
Version:
High-performance React Native Graphics using Skia
9 lines (8 loc) • 406 B
TypeScript
import type { ReactNode } from "react";
import type { SkSurface } from "../skia";
export * from "../renderer/components";
export declare const makeOffscreenSurface: (width: number, height: number) => SkSurface;
export declare const getSkiaExports: () => {
Skia: import("../skia/types").Skia;
};
export declare const drawOffscreen: (surface: SkSurface, element: ReactNode) => import("../skia").SkImage;