showing results for - "using shortid in react lists"
Ben
24 Apr 2019
1import shortid from "shortid";
2
3export const NavArray = [
4  {
5    to: "/Women",
6    text: "1",
7    id: shortid.generate()
8  },
9  {
10    to: "/Women",
11    text: "2",
12    id: shortid.generate()
13  },
14  {
15    to: "/Women",
16    text: "3",
17    id: shortid.generate()
18  },
19  {
20    to: "/Women",
21    text: "4",
22    id: shortid.generate()
23  }
24];