UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

17 lines 852 B
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