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

Function Widget

apps/start/src/components/widget.tsx:75–81  ·  view source on GitHub ↗
({ children, className, ...props }: WidgetProps)

Source from the content-addressed store, hash-verified

73 ref?: React.RefObject<HTMLDivElement | null>;
74}
75export function Widget({ children, className, ...props }: WidgetProps) {
76 return (
77 <div className={cn('card self-start', className)} {...props}>
78 {children}
79 </div>
80 );
81}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected