refactor(frontend): EmptyState + LoadingSkeleton primitives; unified ThoughtForm replaces PostThoughtForm and ReplyForm

This commit is contained in:
2026-05-15 20:01:00 +02:00
parent dadfe04934
commit d450a1d8d8
10 changed files with 203 additions and 253 deletions

View File

@@ -0,0 +1,12 @@
interface EmptyStateProps {
message: string
className?: string
}
export function EmptyState({ message, className }: EmptyStateProps) {
return (
<p className={`text-center text-muted-foreground pt-8 ${className ?? ""}`}>
{message}
</p>
)
}