import { Accordion, Avatar, Badge, HStack } from "@chakra-ui/react" import { LuTrophy } from "react-icons/lu" import { LoremIpsum } from "react-lorem-ipsum" export const AccordionWithAvatar = () => { return ( {items.map((item, index) => ( {item.name}{" "} {item.topRated && ( Top Rated )} {item.bio} ))} ) } const items = [ { name: "Alex", bio: , image: "https://i.pravatar.cc/150?u=a", topRated: false, }, { name: "Benji", bio: , image: "https://i.pravatar.cc/150?u=b", topRated: true, }, { name: "Charlie", bio: , image: "https://i.pravatar.cc/150?u=c", topRated: false, }, ]