@sanity/form-builder
Version:
Sanity form builder
24 lines • 731 B
TypeScript
import React from 'react';
import { CrossDatasetType } from '@sanity/types';
import { DocumentAvailability } from '@sanity/base/_internal';
import { DocumentPreview } from './types';
/**
* Used to preview a referenced type
* Takes the reference type as props
* @param props
* @constructor
*/
export declare function CrossDatasetReferencePreview(props: {
availability: DocumentAvailability;
id: string;
hasStudioUrl?: boolean;
showStudioUrlIcon?: boolean;
preview: {
published: DocumentPreview | undefined;
};
dataset: string;
projectId: string;
refType?: CrossDatasetType;
showTypeLabel: boolean;
}): React.JSX.Element;
//# sourceMappingURL=CrossDatasetReferencePreview.d.ts.map