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

12 lines 612 B
import { EntityBundle } from '@sage-bionetworks/synapse-types'; export type FileEntityPreviewProps = { /** An entity bundle containing a FileEntity, and its fileHandles */ bundle: EntityBundle; }; /** * Given an entity bundle that contains a FileEntity, render a preview of the file. The rendered preview will be determined based on the * content type and file name of the file handle(s) associated with the FileEntity. * @param props */ export default function FileEntityPreview(props: FileEntityPreviewProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=FileEntityPreview.d.ts.map