Array as props In src/components/App.js We have a component Join It should accept a prop words of type array and display them as a comma seperated string using words.join(',') Use the arr variable as the data to be passed in props.