import { observable } from 'mobx';
import { observer } from 'mobx-react';

import * as React from 'react';
import './FieldLoader.scss';

@observer
export class FieldLoader extends React.Component {
    @observable public static ServerLoadStatus = { requested: 0, retrieved: 0 };
    public static active = false;

    render() {
        return <div className="fieldLoader">{`Requested: ${FieldLoader.ServerLoadStatus.requested} ... ${FieldLoader.ServerLoadStatus.retrieved} `}</div>;
    }
}
