'use client'; import { Container } from '@/ui/Container'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; import { TemplateProps } from '@/lib/contracts/components/ComponentContracts'; import { ViewData } from '@/lib/contracts/view-data/ViewData'; interface ErrorTemplateProps extends TemplateProps { message?: string; description?: string; } export function ErrorTemplate({ message = "An error occurred", description = "Please try again later" }: ErrorTemplateProps) { return ( {message} {description} ); } interface EmptyTemplateProps extends TemplateProps { title: string; description: string; } export function EmptyTemplate({ title, description }: EmptyTemplateProps) { return ( {title} {description} ); }