Files
test/src/components/Broadcast/VideoFeed/VideoFeed.tsx
T
Kyle Geib b4ea27e8c6 ISSUE-004 - Saving progress. Have two options for image display.
BackgroundImage uses <img> and can be centered with VideoFeedFrame, but cannot be shrunk when the window becomes narrow.
BackgroundImageDiv uses div and a background image property, but cannot be centered with VideoFeedFrame.
2021-12-21 21:17:38 -05:00

11 lines
355 B
TypeScript

import { VideoFeedFrame, BackgroundImage, BackgroundImageDiv } from "./styles";
import bg from "../../../public/images/misc/bg-standin.jpg";
export default function VideoFeed() {
return <VideoFeedFrame centered={true}>
{/* <BackgroundImage src={bg} alt="formula one cars on track" /> */}
<BackgroundImageDiv src={bg} />
</VideoFeedFrame>;
}