mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-24 02:36:00 +00:00
26 lines
520 B
JavaScript
26 lines
520 B
JavaScript
import React from "react";
|
|
|
|
const Background = props => {
|
|
const { innerRef, ...restProps } = props;
|
|
return (
|
|
<div
|
|
ref={innerRef}
|
|
className="draggable"
|
|
style={{
|
|
// This color will be used until Butterchurn is loaded
|
|
backgroundColor: "#000",
|
|
position: "absolute",
|
|
top: 0,
|
|
bottom: 0,
|
|
left: 0,
|
|
right: 0,
|
|
height: "100%",
|
|
width: "100%"
|
|
}}
|
|
tabIndex="0"
|
|
{...restProps}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default Background;
|