hide button after all items in array are returned react – Javascript
i am trying to have the button hide after all items in the array are returned: const blogs = [ {src: "/blog1.png"}, {src: "/blog2.png"}, {src: "/blog3.png"}, {src: "/blog4.png"}, {src: "/blog5.png"}, ]; const Thumbnails = ({ image, index = 0}) =>…