chore: user mdoels

This commit is contained in:
jialin
2025-09-16 11:26:17 +08:00
parent 33df825b73
commit 4711c848f8
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,20 @@
import Card from '@/components/templates/card';
import React from 'react';
const ModelItem: React.FC<{ model: any; onDeploy: (model: any) => void }> = (
props
) => {
const { model, onDeploy } = props;
return (
<Card>
<div className="model-item" onClick={() => onDeploy(model)}>
<h3>{model.name}</h3>
<p>{model.description}</p>
<span>Deploy</span>
</div>
</Card>
);
};
export default ModelItem;