synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
21 lines • 897 B
TypeScript
import { ReleaseCardConfig } from './ReleaseCardTypes';
/**
* Column index values into the row values given provided in "data"
* Used to define release metadata (entity id, name, date)
* as well as statistics and button to explore data
*/
export type ReleaseCardSchema = Record<string, number>;
export type ReleaseCardProps = {
schema: ReleaseCardSchema;
data: (string | null)[];
includePortalCardClass?: boolean;
releaseCardConfig: ReleaseCardConfig;
};
/**
* Specialized Release Card, initially implemented for the GENIE portal.
* Expects columns used to define release metadata (entity id, name, date)
* as well as statistics columns and columns for defining a button to explore data
* as defined in the releaseCardConfig
*/
export declare function ReleaseCard(props: ReleaseCardProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ReleaseCard.d.ts.map