UNPKG

tinacms

Version:

> The Fastest Way to Edit Next.js Content

19 lines (17 loc) 527 B
/** */ /// <reference types="react" /> import type { TinaCMS } from '@tinacms/toolkit'; import type { DocumentForm } from '../types'; export declare const useGetDocument: (cms: TinaCMS, collectionName: string, relativePath: string) => { document: DocumentForm; loading: boolean; error: Error; }; declare const GetDocument: ({ cms, collectionName, relativePath, children, }: { cms: TinaCMS; collectionName: string; relativePath: string; children: any; }) => JSX.Element; export default GetDocument;