UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

19 lines (17 loc) 528 B
/** */ 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;