I want to display array of objects in 2 columns. what is the easiest method to display the list as two columns?
const columns = [
{
subHeading: "A",
subText: ["1", "2"]
},
{
subHeading: "B",
subText: ["3", "4"]
},
{
subHeading: "C",
subText: ["5", "6"]
},
{
subHeading: "D",
subText: ["7", "8"]
}
];
Desired display on LWC Page:
A B
C D