import React from 'react';

import IDUtil from '../../util/IDUtil';

export default ({ message }) => (
    <div className={IDUtil.cssClassName('loading')}>
        <div
            className={IDUtil.cssClassName('spinner')}
            title={message || 'Loading the resource'}
        ></div>
    </div>
);
