​x
15
 
1
​
2
// your excel headers
3
export const headers = {
4
  id: "User ID"
5
};
6
​
7
// your data
8
export const values = [
9
  {
10
    id: Math.floor(Math.random() * 69)
11
  }
12
];
13
​
14
export const filename = `file-${Date.now()}.xlsx`;
15
​
View on GitHub