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

16 lines 871 B
import { LabelLinkConfig } from '../CardContainerLogic'; export type SynapseTableContextType = { columnLinks?: LabelLinkConfig; /** * If true, the component will show enhanced UI for the case where * - the entity is a FileEntity, AND * - the caller has permission to fetch the dataFileHandle, AND * - the dataFileHandle is an instance of ExternalFileHandleInterface (i.e. the file is not controlled by Synapse) * Note that this requires an additional API call that cannot be batched, so it should be avoided in bulk contexts if possible. * @default false */ showExternalAccessIcon?: boolean; }; export declare const SynapseTableContext: import("react").Context<SynapseTableContextType | undefined>; export declare function useSynapseTableContext(): SynapseTableContextType; //# sourceMappingURL=SynapseTableContext.d.ts.map