* Add dialog provider boilerplate and improve provider imports * Add react-draggable dependency * Add dialog service boilerplate * Refactor modal to use react-modal and remove dependency on modal themed styles * Update cinedialog to use new dialog provider * Add multiple dialogs and refactor provider (dialogs) * Set app root (modal) * Add modal zindex bigger than tooltip * Block drag on buttons/svgs/paths/input and improve jsdoc * Use guid util to generate dialog ids * Explicit props in dialog provider * Improve jsdocs * Fix tests broken * Fix boundaries calculation * Remember last dialog position * Update providers location * Add scroll to modal * Add toggable button toolbar and fix css modal
19 lines
500 B
JavaScript
19 lines
500 B
JavaScript
import React from 'react';
|
|
import { Icon } from './../../elements/Icon';
|
|
// TODO: useTranslation
|
|
import { withTranslation } from '../../contextProviders';
|
|
|
|
function StudyListLoadingText({ t: translate }) {
|
|
return (
|
|
<div className="loading-text">
|
|
{translate('Loading')}... <Icon name="circle-notch" animation="pulse" />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
const connectedComponent = withTranslation('StudyListLoadingText')(
|
|
StudyListLoadingText
|
|
);
|
|
|
|
export { connectedComponent as StudyListLoadingText };
|