I am trying to make something like this in React. I have a dynamic array of locations and want to make it responsive. If the number of locations can\'t fit in one row then d