export studyListTableRow from @ohif/ui

This commit is contained in:
dannyrb 2020-05-13 00:30:33 -04:00 committed by James A. Petts
parent 734bd9803d
commit c1d399d543
4 changed files with 17 additions and 14 deletions

View File

@ -41,6 +41,7 @@ export {
StudyListFilter,
StudyListPagination,
StudyListTable,
StudyListTableRow,
Svg,
Table,
TableBody,

View File

@ -5,19 +5,17 @@ import StudyListTableRow from './StudyListTableRow';
const StudyListTable = ({ tableDataSource }) => {
return (
<>
<div className="bg-black">
<div className="container m-auto relative">
<table className="w-full text-white">
<tbody>
{tableDataSource.map((tableData, i) => {
return <StudyListTableRow tableData={tableData} key={i} />;
})}
</tbody>
</table>
</div>
<div className="bg-black">
<div className="container m-auto relative">
<table className="w-full text-white">
<tbody>
{tableDataSource.map((tableData, i) => {
return <StudyListTableRow tableData={tableData} key={i} />;
})}
</tbody>
</table>
</div>
</>
</div>
);
};

View File

@ -1,3 +1,6 @@
import StudyListTable from './StudyListTable';
import StudyListTable from './StudyListTable.js';
import StudyListTableRow from './StudyListTableRow.js';
export default StudyListTable;
export { StudyListTable, StudyListTableRow };

View File

@ -22,7 +22,7 @@ import SidePanel from './SidePanel';
import StudyBrowser from './StudyBrowser';
import StudyListExpandedRow from './StudyListExpandedRow';
import StudyListPagination from './StudyListPagination';
import StudyListTable from './StudyListTable';
import { StudyListTable, StudyListTableRow } from './StudyListTable';
import Svg from './Svg';
import StudyItem from './StudyItem';
import StudyListFilter from './StudyListFilter';
@ -72,6 +72,7 @@ export {
StudyListFilter,
StudyListPagination,
StudyListTable,
StudyListTableRow,
Svg,
Table,
TableBody,