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