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

23 lines 969 B
import React from 'react'; import { EntityHeader, ReferenceList } from '@sage-bionetworks/synapse-types'; import { EntityFinderModalProps } from '../EntityFinder/EntityFinderModal'; export type EntityHeaderTableProps = { references: ReferenceList; isEditable: boolean; disabled?: boolean; onUpdate?: (updatedRefs: ReferenceList) => void; removeSelectedRowsButtonText?: string; onUpdateEntityIDsTextbox?: (value: string) => void; objectNameCopy?: string; hideTextFieldToPasteValue?: boolean; entityFinderConfiguration?: EntityFinderModalProps['configuration']; }; export type EntityHeaderOrDummy = EntityHeader & { isDummy?: boolean; }; /** * Renders a sortable/filterable table for a set of entity references. If editable, onUpdate will be called back * on any entity added/removed. */ export declare const EntityHeaderTable: (props: EntityHeaderTableProps) => React.ReactNode; //# sourceMappingURL=EntityHeaderTable.d.ts.map