some roblox stuff again

This commit is contained in:
2025-07-24 04:25:18 +03:00
parent e0217cbbcb
commit d1f925f298
35 changed files with 866 additions and 282 deletions

View File

@@ -9,15 +9,23 @@ interface LazyLoadedImageProps {
[prop: string]: string;
}
const LazyLoadedImage: React.FC<
LazyLoadedImageProps
> = ({ imgId, alt, ...props }) => {
const LazyLoadedImage: React.FC<LazyLoadedImageProps> = ({
imgId,
alt,
...props
}) => {
const imgUrl = useThumbnailURL(imgId);
return (
<div>
{imgUrl ? (
<Image src={imgUrl as any} width={1024} height={1024} alt={alt} {...props} />
<Image
src={imgUrl as any}
width={1024}
height={1024}
alt={alt}
{...props}
/>
) : (
<Skeleton {...props} />
)}