import { PersonCircle, StarFill } from "react-bootstrap-icons"; export default function Review({ review }) { const rating = [...Array(review.attributes.rating)].map((value: undefined, index: number) => ); return( <>
{review.attributes.author_name}
{rating}
{review.attributes.review}
); }