synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
12 lines • 612 B
TypeScript
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