UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

10 lines (9 loc) 398 B
import type { NodeHandle, ViewComponent } from "react-native"; import type { DataModule } from "../skia/types"; export interface IPlatform { OS: string; PixelRatio: number; findNodeHandle: (componentOrHandle: null | number | React.Component<any, any> | React.ComponentClass<any>) => null | NodeHandle; resolveAsset: (source: DataModule) => string; View: typeof ViewComponent; }