feat: StudyListTable, ExpandedRow, API definitions (#1579)

* feat: StudyListTable Refactor

* feat: StudyListTable + Props Refactor

* fix expanded rows handler

* update and fix study list doc page

* fix date format

* use moment to format date

* expose new components

* fix study list expanded row

* Export and Create doc page for Pagination

* API Definition, Export and Doc page for StudyListTable

* StudyListTableRow

* use real example to mount study list

* move files

* temporary change study list (viewer) structure

* fix studyList

* remove unused files

* remove file

* remove unused package

* PR fixes

* Remove console.dir

Co-authored-by: Gustavo Lelis <galelis@gmail.com>
This commit is contained in:
Rodrigo AntinarelliandGustavo Lelis authored and James A. Petts committed 2020-05-15 13:46:20 +02:00
1 parent 056f56f5b4
commit f4b078912a
21 files changed
+858 -240

No files matched your search

@@ -1,12 +1,14 @@
import React from 'react';
import { StudyList } from '@ohif/ui';
// TEMPORARY MOCKING DATA FOR VISUALIZATION PURPOSES
import { utils } from '@ohif/ui';
const ConnectedStudyList = () => {
const studies = utils.getMockedStudies();
return <StudyList studies={studies} />;
return (
/** Temporary using StudyList -- We should mount it by using the created
* components such as NavBar, InputGroup, StudyListTable, etc...
* Check "Views > StudyList" in @ohif/ui for reference
*/
<StudyList />
);
};
export default ConnectedStudyList;