synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
17 lines • 852 B
TypeScript
import { FileHandle, FileHandleAssociation } from '@sage-bionetworks/synapse-types';
import { PreviewRendererType } from './PreviewRendererType';
export type FileHandleContentRendererProps = {
/** The file handle whose contents should be downloaded and rendered */
fileHandle: FileHandle;
/** The association between the file handle and an object which will give the user permission to access the file data */
fileHandleAssociation: FileHandleAssociation;
/** Informs how to render the file data */
previewType: PreviewRendererType;
};
/**
* Fetches the content for and renders the contents of a file handle.
* @param props
* @returns
*/
export default function FileHandleContentRenderer(props: FileHandleContentRendererProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=FileHandleContentRenderer.d.ts.map