13 lines
254 B
TypeScript
13 lines
254 B
TypeScript
interface EmptyStateProps {
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export function EmptyState({ title, description }: EmptyStateProps) {
|
|
return (
|
|
<div className="empty-state">
|
|
<h3>{title}</h3>
|
|
<p>{description}</p>
|
|
</div>
|
|
);
|
|
}
|