I want to create a break line on one of cell in my CSV file but I cant do this
my csv package is react-csv and I try this way :
rowResult.push([
index 1,
cartData[item].title '"' attrs '"',
]);
});
result: but I want this result :
CodePudding user response:
I find it
must be used this way
"\n"
rowResult.push([
index 1,
cartData[item].title '\n' attrs '\n',
]);
});