UNPKG

@sanity/desk-tool

Version:

Tool for managing all sorts of content in a structured manner

9 lines 572 B
import { SanityDocument } from '@sanity/types'; import React from 'react'; export interface WithReferringDocumentsProps { referringDocuments: Record<string, any>[]; isCheckingReferringDocuments: boolean; published?: SanityDocument | null; } export declare function enhanceWithReferringDocuments<ComponentProps extends WithReferringDocumentsProps>(WrappedComponent: React.ComponentType<ComponentProps>): React.ComponentType<Omit<ComponentProps, 'referringDocuments' | 'isCheckingReferringDocuments'>>; //# sourceMappingURL=enhanceWithReferringDocuments.d.ts.map