MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / WidgetEmptyState

Function WidgetEmptyState

apps/start/src/components/widget.tsx:61–68  ·  view source on GitHub ↗
({ icon: Icon, text }: WidgetEmptyStateProps)

Source from the content-addressed store, hash-verified

59 text: string;
60}
61export function WidgetEmptyState({ icon: Icon, text }: WidgetEmptyStateProps) {
62 return (
63 <div className="flex flex-col items-center justify-center gap-2 py-8 text-muted-foreground">
64 <Icon size={28} strokeWidth={1.5} />
65 <p className="text-sm">{text}</p>
66 </div>
67 );
68}
69
70export interface WidgetProps {
71 children: React.ReactNode;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected