UNPKG

next-sanity

Version:
19 lines 897 B
import { a as SanityClientConfig, c as SanityLiveOnError, d as SanityLiveOnRestart, f as SanityLiveOnWelcome, l as SanityLiveOnGoaway, o as SanityLiveAction, u as SanityLiveOnReconnect } from "../../types.js"; interface SanityLiveProps { config: SanityClientConfig; includeDrafts: true | undefined; requestTag: string; waitFor: "function" | undefined; action: SanityLiveAction; onError: SanityLiveOnError | undefined; onWelcome: SanityLiveOnWelcome | false | undefined; onReconnect: SanityLiveOnReconnect | false | undefined; onRestart: SanityLiveOnRestart | false | undefined; onGoAway: SanityLiveOnGoaway | false | undefined; } /** * @internal CAUTION: this is an internal component and does not follow semver. Using it directly is at your own risk. */ declare const SanityLive: React.ComponentType<SanityLiveProps>; export { SanityLive }; //# sourceMappingURL=index.d.ts.map