Here is a TableCell which is inside array.map((row,index) =>{})
 <TableCell component="th" scope="row" padding="none">
      {row.createdAt}
 </TableCell>
I want to pass this {row.createdAt} as a parameter in a function and instead of printing {row.createdAt} inside this I want to print the value returning from the function. Please tell me how to do that??
 
     
     
    