File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 2121 let reader;
2222 let allFiles;
2323
24- let textureFiles = $state . raw ([ ]);
24+ let textureFiles = $state ([{ filename: ' example1 ' , compressedSize: 0 } ]);
2525 let tableItems = $derived .by (() => {
2626 // return textureFiles.map((file) => ({ filename: file.filename }));
27- return [{ length: textureFiles . length }] ;
27+ return textureFiles ;
2828 // return [{ name: 'example1' }, { name: 'example2' }].map((file) => ({ filename: file.name }));
2929 });
3030
101101 </Card >
102102
103103 <Card class =" max-w-xl gap-2 p-4" >
104- <Table items ={tableItems }></Table >
104+ <Table
105+ items ={tableItems }
106+ onRefresh ={console .log }
107+ onSearch ={console .log }
108+ onUpdate ={console .log }
109+ ></Table >
105110 </Card >
106111 </div >
107112</div >
You can’t perform that action at this time.
0 commit comments