I’m trying to display both first name and last name from API data.
<CustomersTable
name={customers.first_name} {customers.last_name}
id={customers.uid}
/>
I’m trying to display both first name and last name from API data.
<CustomersTable
name={customers.first_name} {customers.last_name}
id={customers.uid}
/>
2
Answers
you can do like this
or
Considering the information you gave, you need to concatenate them using a string template or concatenation operator.