Files
ReporterStationManagementSy…/src/components/ui/EmptyState.tsx
T
2026-08-01 23:09:49 +08:00

15 lines
287 B
TypeScript

import type { LucideIcon } from 'lucide-react'
interface EmptyStateProps {
icon: LucideIcon
text: string
}
export function EmptyState({ icon: Icon, text }: EmptyStateProps) {
return (
<div className="empty">
<Icon size={30} />
<span>{text}</span>
</div>
)
}