13 lines
313 B
JavaScript
13 lines
313 B
JavaScript
import React from "react";
|
|
|
|
const LoadingScreen = ({ status, spinner = true }) => (
|
|
<div className="video__loading-screen">
|
|
<div>
|
|
{spinner && <div className="video__loading-spinner" />}
|
|
|
|
<div className="video__loading-status">{status}</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
|
|
export default LoadingScreen;
|