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
@@ -1,7 +1,12 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const StudySummary = ({ date, modality, description }) => {
|
||||
interface StudySummaryProps {
|
||||
date: string;
|
||||
modality: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
const StudySummary: React.FC<StudySummaryProps> = ({ date, modality, description }) => {
|
||||
return (
|
||||
<div className="p-2">
|
||||
<div className="leading-none">
|
||||
@@ -17,10 +22,4 @@ const StudySummary = ({ date, modality, description }) => {
|
||||
);
|
||||
};
|
||||
|
||||
StudySummary.propTypes = {
|
||||
date: PropTypes.string.isRequired,
|
||||
modality: PropTypes.string.isRequired,
|
||||
description: PropTypes.string,
|
||||
};
|
||||
|
||||
export default StudySummary;
|
||||
Reference in new issue
Block a user