Estoy atascado con lo siguiente, console.log se muestra correcto pero en la salida web no se muestran valores. agradeceria apoyo
const ServicesDetails = [ ["text1", "text2", "text3"], ["text5", "text6", "text7"], ["text8", "text9", "text10"] ]; const getServicesDetails = (prop) => { let length = ServicesDetails.length for (let i = 0; i <= length; i++) { if (parseInt(prop) === parseInt(i)) { ServicesDetails[i].map( (item, e) => { console.log(item, e) return <div key={e}>{item}</div> } ) } } }devuelve tu mapa https://codesandbox.io/s/condescending-glade-y78p00?file=/src/App.js
let length = ServicesDetails.length; for (let i = 0; i <= length; i++) { if (parseInt(prop) === parseInt(i)) { return ServicesDetails[i].map((item, e) => { return <div key={e}>{item}</div>; }); } } };