Rename thumbnailSR
This commit is contained in:
1 parent
8ae21a97d8
commit
19aec45797
6 files changed
+52
-13
No files matched your search
@@ -0,0 +1,35 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import { Icon } from '@ohif/ui';
|
||||
|
||||
const ThumbnailNoImage = ({ description, seriesDate, modality, onClick }) => {
|
||||
return (
|
||||
<div
|
||||
className="flex flex-row flex-1 px-4 py-3 cursor-pointer"
|
||||
onClick={onClick}
|
||||
>
|
||||
<div className="flex flex-2 pl-2 pr-3">
|
||||
<Icon name="list-bullets" className="text-secondary-light" />
|
||||
</div>
|
||||
<div className="flex flex-col flex-1">
|
||||
<div className="flex flex-row flex-1 items-center mb-2">
|
||||
<div className="px-4 bg-primary-main rounded-sm mr-4 text-xl text-white">
|
||||
{modality}
|
||||
</div>
|
||||
<span className="text-blue-300 text-base">{seriesDate}</span>
|
||||
</div>
|
||||
<div className="text-white text-base">{description}</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
ThumbnailNoImage.propTypes = {
|
||||
description: PropTypes.string.isRequired,
|
||||
modality: PropTypes.string.isRequired,
|
||||
seriesDate: PropTypes.string.isRequired,
|
||||
onClick: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
export default ThumbnailNoImage;
|
||||
Reference in new issue
Block a user