AniX/app/components/ReleaseInfo/ReleaseInfo.Screenshots.tsx
Kentai Radiquum e548ce060d
refactor: Release page
factor it in separate components and update grid styling
2024-07-31 20:21:32 +05:00

15 lines
371 B
TypeScript

import { Card, Carousel } from "flowbite-react";
export const ReleaseInfoScreenshots = (props: {
images: string[];
}) => {
return (
<Card>
<Carousel className="aspect-[16/10]">
{props.images.map((image: string, index: number) => (
<img key={index} className="object-cover" src={image} />
))}
</Carousel>
</Card>
);
};