'use client'; import { SharedContainer, SharedStack, SharedText } from '@/components/shared/UIComponents'; 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} ); }