synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
19 lines • 941 B
TypeScript
import React from 'react';
import { Query } from '@sage-bionetworks/synapse-types';
import { LabelLinkConfig } from '../CardContainerLogic';
export type RowDataTableWithQueryProps = {
/** The query used to retrieve data */
query: Query;
/** Optional list of column names whose data should be displayed in the table. If not provided, all columns with data will be shown. */
displayedColumns?: string[];
/** Optional display value overrides for column names */
columnAliases?: Record<string, string>;
/** Optional configuration for linking columns */
columnLinks?: LabelLinkConfig;
};
/**
* For the first row returned by the query, displays a table of column names and Synapse Table row data represented as key/value pairs
*/
declare const RowDataTableWithQuery: (props: RowDataTableWithQueryProps) => React.ReactNode;
export default RowDataTableWithQuery;
//# sourceMappingURL=RowDataTableWithQuery.d.ts.map