* feat: move necessary files to jan root Signed-off-by: James <james@jan.ai> * chore: check model dir --------- Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai> Co-authored-by: Louis <louis@jan.ai>
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
import { ModelCatalog } from '@janhq/core/lib/types'
|
|
import ExploreModelItem from '@/screens/ExploreModels/ExploreModelItem'
|
|
|
|
type Props = {
|
|
models: ModelCatalog[]
|
|
}
|
|
|
|
const ExploreModelList: React.FC<Props> = ({ models }) => (
|
|
<div className="relative h-full w-full flex-shrink-0">
|
|
{models?.map((item, i) => <ExploreModelItem key={item.id} model={item} />)}
|
|
</div>
|
|
)
|
|
|
|
export default ExploreModelList
|