OHIF with Cornerstone3D 2.0 (#4347)
This commit is contained in:
1 parent
8981a61b8c
commit
7ce7127d7c
803 files changed
+32760
-15893
No files matched your search
@@ -0,0 +1,24 @@
|
||||
import React from 'react';
|
||||
|
||||
interface StudySummaryProps {
|
||||
date: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* StudySummary component displays a summary of a study with its date and description.
|
||||
*
|
||||
* @param props - The properties for the StudySummary component
|
||||
* @param props.date - The date of the study
|
||||
* @param props.description - The description of the study
|
||||
*/
|
||||
const StudySummary: React.FC<StudySummaryProps> = ({ date, description }) => {
|
||||
return (
|
||||
<div className="mx-2 my-0">
|
||||
<div className="text-foreground text-sm">{date}</div>
|
||||
<div className="text-muted-foreground pb-1 text-sm">{description}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export { StudySummary };
|
||||
@@ -0,0 +1,3 @@
|
||||
import { StudySummary } from './StudySummary';
|
||||
|
||||
export { StudySummary };
|
||||
Reference in new issue
Block a user