@sanity/form-builder
Version:
Sanity form builder
11 lines • 472 B
TypeScript
import React from 'react';
import { AssetFromSource, Asset as AssetType } from '@sanity/types';
export interface Props {
onSelect: (arg0: AssetFromSource[]) => void;
onClose: () => void;
selectedAssets: AssetType[];
assetType: 'file' | 'image';
dialogHeaderTitle?: string;
}
export declare const DefaultSource: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>>;
//# sourceMappingURL=DefaultSource.d.ts.map