import { Plus } from 'lucide-react'; import { Button } from '@/components/radix/Button'; import { DatabaseTemplate } from '@/features/database/templates'; import { TemplateCard } from './TemplateCard'; interface TablesEmptyStateProps { templates: DatabaseTemplate[]; onCreateTable: () => void; onTemplateClick: (template: DatabaseTemplate) => void; } export function TablesEmptyState({ templates, onCreateTable, onTemplateClick, }: TablesEmptyStateProps) { return (

Create Your First Table

or choose a template to start

{templates.map((template) => ( onTemplateClick(template)} showTableCount /> ))}
); }