2017-06-07 06:12:45 +02:00
|
|
|
import React from "react";
|
|
|
|
|
2017-06-10 19:07:28 +02:00
|
|
|
const LoadingScreen = ({ status, spinner = true }) =>
|
2017-06-09 01:16:38 +02:00
|
|
|
<div className="video__loading-screen">
|
|
|
|
<div>
|
2017-06-10 19:07:28 +02:00
|
|
|
{spinner && <div className="video__loading-spinner" />}
|
2017-06-07 06:12:45 +02:00
|
|
|
|
2017-06-09 01:16:38 +02:00
|
|
|
<div className="video__loading-status">
|
2017-06-07 08:32:38 +02:00
|
|
|
{status}
|
|
|
|
</div>
|
2017-06-07 06:12:45 +02:00
|
|
|
</div>
|
|
|
|
</div>;
|
|
|
|
|
|
|
|
export default LoadingScreen;
|