import { imageUrl, type RewindStats } from "api/api"; import RewindStatText from "./RewindStatText"; import { RewindTopItem } from "./RewindTopItem"; interface Props { stats: RewindStats; includeTime?: boolean; } export default function Rewind(props: Props) { const artistimg = props.stats.top_artists[0].image; const albumimg = props.stats.top_albums[0].image; const trackimg = props.stats.top_tracks[0].image; return (