init: sudah ganti logo, hilangin setting, dan investigational use dialog
This commit is contained in:
28
platform/ui/src/components/EmptyStudies/EmptyStudies.tsx
Normal file
28
platform/ui/src/components/EmptyStudies/EmptyStudies.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import classnames from 'classnames';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import Typography from '../Typography';
|
||||
import { Icons } from '@ohif/ui-next';
|
||||
// TODO: Add loading spinner to OHIF + use it here.
|
||||
const EmptyStudies = ({ className = '' }) => {
|
||||
const { t } = useTranslation('StudyList');
|
||||
return (
|
||||
<div className={classnames('inline-flex flex-col items-center', className)}>
|
||||
<Icons.Magnifier className="mb-4" />
|
||||
<Typography
|
||||
className="text-primary-light"
|
||||
variant="h5"
|
||||
>
|
||||
{t('No studies available')}
|
||||
</Typography>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
EmptyStudies.propTypes = {
|
||||
className: PropTypes.string,
|
||||
};
|
||||
|
||||
export default EmptyStudies;
|
||||
2
platform/ui/src/components/EmptyStudies/index.js
Normal file
2
platform/ui/src/components/EmptyStudies/index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import EmptyStudies from './EmptyStudies';
|
||||
export default EmptyStudies;
|
||||
Reference in New Issue
Block a user