create banner

This commit is contained in:
amirhosein.ashourloo
2026-08-17 10:29:46 +03:30
parent 1272977923
commit e5f040d3eb
27 changed files with 832 additions and 603 deletions
+17
View File
@@ -0,0 +1,17 @@
type EmptyStateProps = {
message?: string;
className?: string;
};
export function EmptyState({
message = "هنوز محتوایی ثبت نشده است.",
className = "",
}: EmptyStateProps) {
return (
<div
className={`flex items-center justify-center rounded-2xl border border-dashed border-border bg-surface py-10 text-sm text-muted ${className}`}
>
{message}
</div>
);
}