mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-28 23:54:55 +00:00
15 lines
635 B
TypeScript
15 lines
635 B
TypeScript
import { componentTreeConfig } from '@/components/molecules/component-tree/componentTreeConfig'
|
|
import { componentTreeIcons } from '@/components/molecules/component-tree/componentTreeIcons'
|
|
|
|
export function ComponentTreeEmptyState() {
|
|
const Icon = componentTreeIcons[componentTreeConfig.icon as keyof typeof componentTreeIcons]
|
|
|
|
return (
|
|
<div className="p-8 text-center text-muted-foreground">
|
|
<Icon className="w-12 h-12 mx-auto mb-4 opacity-50" />
|
|
<p className="text-sm">{componentTreeConfig.emptyState.title}</p>
|
|
<p className="text-xs mt-1">{componentTreeConfig.emptyState.description}</p>
|
|
</div>
|
|
)
|
|
}
|