mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 14:56:38 +08:00
14 lines
440 B
TypeScript
14 lines
440 B
TypeScript
interface EmptyStateProps {
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export function EmptyState({ title, description }: EmptyStateProps) {
|
|
return (
|
|
<div className='rounded-2xl border border-dashed border-white/10 bg-white/5 px-5 py-6 text-sm'>
|
|
<p className='text-base font-semibold text-white'>{title}</p>
|
|
<p className='mt-2 leading-6 text-[var(--foreground-secondary)]'>{description}</p>
|
|
</div>
|
|
);
|
|
}
|