mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-06 08:08:10 +08:00
251d7c44d1
* Initial commit * SVG-based graph components * Add histogram, pull data into graphs * Loading animation, timespan descriptions * Improvements to read receipt / link tracking section * Initial pass at subject line analysis * Fixes to subject-line stats * Fix theme `ui-variables` include paths * Add “Share this report” button * Add “Learn More” button * Make it more clear how to edit your shortcuts * Merge activity-list and new activity-dashboard, move in sidebar
20 lines
513 B
JavaScript
20 lines
513 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
import { RetinaImg } from 'mailspring-component-kit';
|
|
|
|
export default class LoadingCover extends React.Component {
|
|
static propTypes = {
|
|
active: PropTypes.bool,
|
|
};
|
|
|
|
render() {
|
|
return (
|
|
<div className={`loading-cover ${this.props.active && 'active'}`}>
|
|
<div className="loading-indicator">
|
|
<RetinaImg name="activity-loading-mask.png" mode={RetinaImg.Mode.ContentIsMask} />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|