chore: model instance show gpu info

This commit is contained in:
jialin
2024-09-12 18:34:44 +08:00
parent b6d5b45650
commit f339133245
18 changed files with 376 additions and 39 deletions
+22
View File
@@ -0,0 +1,22 @@
import React from 'react';
interface TableHeaderProps {
columns: any[];
}
interface TableHeaderProps {
columns: any[];
}
const TableHeader = ({ columns }: TableHeaderProps) => {
return (
<tr>
{columns.map((column: any, index: number) => {
return (
<th key={index}>
<span className="cell-span">{column.title}</span>
</th>
);
})}
</tr>
);
};
export default React.memo(TableHeader);