import countryList from "react-select-country-list"; export default function Address({ address }) { return( {address.attributes.street} {address.attributes.number} {address.attributes.zip_code} {address.attributes.city} {countryList().getLabel(address.attributes.country)} ); }