Files
gander/frontend/src/components/Stream/Thumbnail.tsx
Chris-1010 60c19b3052 UPDATE: Fix to stream/userpage routing, Added UserPage and Tidy to code;
Added ability to visit a user's profile page from their stream;
Cleaned up code formatting, primarily changing from single quotes to double quotes;
Removed unused SignupForm component;
2025-02-04 14:59:18 +00:00

17 lines
304 B
TypeScript

import React from "react";
interface ThumbnailProps {
path: string;
alt?: string;
}
const Thumbnail = ({ path, alt }: ThumbnailProps) => {
return (
<div id="stream-thumbnail">
<img width={300} src={path} alt={alt} className="rounded-md" />
</div>
);
};
export default Thumbnail;