@shopify/react-native-skia
Version:
High-performance React Native Graphics using Skia
10 lines (9 loc) • 355 B
TypeScript
import type { CanvasKit } from "canvaskit-wasm";
import type { SkSVG } from "../types";
import { HostObject } from "./Host";
export declare class JsiSkSVG extends HostObject<HTMLImageElement, "SVG"> implements SkSVG {
constructor(CanvasKit: CanvasKit, ref: HTMLImageElement);
width(): number;
height(): number;
[Symbol.dispose](): void;
}