mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
21 lines
646 B
TypeScript
21 lines
646 B
TypeScript
import { Plus } from 'lucide-react';
|
|
|
|
interface AddProviderTileProps {
|
|
onClick: () => void;
|
|
label?: string;
|
|
}
|
|
|
|
export function AddProviderTile({ onClick, label = 'Add Custom' }: AddProviderTileProps) {
|
|
return (
|
|
<button
|
|
onClick={onClick}
|
|
className="flex flex-col items-center justify-center gap-2 p-4 rounded-lg border border-dashed bg-card hover:bg-muted transition-colors text-center min-h-[100px]"
|
|
>
|
|
<Plus size={32} className="text-muted-foreground" />
|
|
<span className="text-sm font-medium text-muted-foreground overflow-hidden max-w-full text-ellipsis">
|
|
{label}
|
|
</span>
|
|
</button>
|
|
);
|
|
}
|