2025-03-30 16:42:51 -03:00
|
|
|
import React from 'react';
|
2025-03-30 19:04:24 -03:00
|
|
|
import '../../styles/projector.css';
|
2025-03-30 16:42:51 -03:00
|
|
|
|
|
|
|
interface ImageViewerProps {
|
|
|
|
url: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export function ImageViewer({ url }: ImageViewerProps) {
|
|
|
|
return (
|
2025-03-30 19:04:24 -03:00
|
|
|
<div className="image-container">
|
|
|
|
<img src={url} className="projector-image" alt="Projected content" />
|
|
|
|
</div>
|
2025-03-30 16:42:51 -03:00
|
|
|
);
|
|
|
|
}
|