初始提交:全国记者站管理系统
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user