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