{ cards.map(({title: cardTitle, subtitle, image}) => ({ <div> <h3>{cardTitle}</h3> <h5>{subtitle}</h5> <img src={image} /> </div> })) } </div> } const Component = ({title, cards}) => { return <div> <h1>{title}</h1> <CardsList cards={cards} /> </div> } O componente pai não precisa saber sobre os detalhes