1import React from "react";
2
3export default function App() {
4 const cart = [
5 ["Corn", "Potato", "Radish"],
6 ["Tomato", "Graphes", "Mango"],
7 ];
8 return (
9 <div>
10 {cart.map((items, index) => {
11 return (
12 <ol>
13 {items.map((subItems, sIndex) => {
14 return <li> {subItems} </li>;
15 })}
16 </ol>
17 );
18 })}
19 </div>
20 );
21}