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

19 lines 941 B
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