UNPKG

tinacms

Version:

> The Fastest Way to Edit Next.js Content

32 lines (31 loc) 814 B
/// <reference types="react" /> import { TinaCMS } from '../../tina-cms'; export declare const useGetEvents: (cms: TinaCMS, cursor?: string, existingEvents?: { message: string; id: string; timestamp: number; isError: boolean; isGlobal: boolean; }[]) => { events: { message: string; id: string; timestamp: number; isError: boolean; isGlobal: boolean; }[]; cursor: string; loading: boolean; error: Error; }; export declare const SyncErrorWidget: ({ cms }: { cms: any; }) => JSX.Element; export declare const SyncStatusModal: ({ closeEventsModal, cms }: { closeEventsModal: any; cms: any; }) => JSX.Element; export declare const SyncStatus: ({ cms, setEventsOpen }: { cms: any; setEventsOpen: any; }) => JSX.Element;