import React from "react"; export interface MovieType { id: number, // image:string, // title:string, // Prognosis Negative starRating: string, // 2.66 rating:string, // PG-13 year:string, // 2021 genre:string, // Comedy runtime:string, // 1h 46m cast:string // Simon Pegg, Zach Galifianakis } export default function ListItem({ movie }: {movie:MovieType}) { return (

{movie.title}

Star rating
{movie.starRating}
Rating
{movie.rating}
Year
{movie.year}
Genre
{movie.genre}
Runtime
{movie.runtime}
Cast
{movie.cast}
) }