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

21 lines 986 B
import React from 'react'; import { SelectColumn } from '@sage-bionetworks/synapse-types'; import { LabelLinkConfig } from '../CardContainerLogic'; export type RowDataTableProps = { /** Array of string values corresponding to the data for a row */ rowData: Array<string | null>; /** The headers for the columns in the table */ headers: SelectColumn[]; /** 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 configuration for linking columns */ columnLinks?: LabelLinkConfig; /** Optional display value overrides for column names */ columnAliases?: Record<string, string>; }; /** * Displays a table of column names and Synapse Table row data represented as key/value pairs */ declare const RowDataTable: (props: RowDataTableProps) => React.ReactNode; export default RowDataTable; //# sourceMappingURL=RowDataTable.d.ts.map