import React from 'react'; import type { GitLabProjectInfo } from '~/types/GitLab'; interface RepositoryCardProps { repo: GitLabProjectInfo; onClone?: (repo: GitLabProjectInfo) => void; } export function RepositoryCard({ repo, onClone }: RepositoryCardProps) { return (
{repo.name}
{repo.star_count.toLocaleString()}
{repo.forks_count.toLocaleString()}
{repo.description && (

{repo.description}

)}