tinacms
Version:
[](https://github.com/tinacms/tinacms/blob/main/LICENSE) [](https://www.npmjs.com/package/tinacms) [![Bui
19 lines (17 loc) • 528 B
TypeScript
/**
*/
import React from '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;
}) => React.JSX.Element;
export default GetDocument;