UNPKG

@orbitinghail/sqlsync-react

Version:

SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge.

12 lines (11 loc) 473 B
import { SQLSync } from "@orbitinghail/sqlsync-worker"; import { ReactNode } from "react"; export declare const SQLSyncContext: import("react").Context<SQLSync | null>; interface Props { children: ReactNode; workerUrl: string | URL; wasmUrl: string | URL; coordinatorUrl?: string | URL; } export declare const SQLSyncProvider: (props: Props) => import("react").FunctionComponentElement<import("react").ProviderProps<SQLSync | null>> | undefined; export {};