synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
13 lines • 771 B
TypeScript
import { RowSelectionState } from '@tanstack/react-table';
import { ReferenceList } from '@sage-bionetworks/synapse-types';
export declare function useEntityHeaderTableState(references: ReferenceList, onUpdateEntityIDsTextbox?: (value: string) => void, onUpdate?: (updatedRefs: ReferenceList) => void): {
rowSelection: RowSelectionState;
setRowSelection: import("react").Dispatch<import("react").SetStateAction<RowSelectionState>>;
refsInState: ReferenceList;
setRefsInState: (refs: ReferenceList) => void;
newEntityIDs: string;
setNewEntityIDs: (newValue: string) => void;
parseErrors: string[];
setParseErrors: import("react").Dispatch<import("react").SetStateAction<string[]>>;
};
//# sourceMappingURL=useEntityHeaderTableState.d.ts.map