chore: model instance show gpu info
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user