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

Function WidgetHead

apps/start/src/components/widget.tsx:8–19  ·  view source on GitHub ↗
({ children, className }: WidgetHeadProps)

Source from the content-addressed store, hash-verified

6 className?: string;
7}
8export function WidgetHead({ children, className }: WidgetHeadProps) {
9 return (
10 <div
11 className={cn(
12 'border-b border-border p-4 [&_.title]:whitespace-nowrap [&_.title]:font-semibold [&_.title]:text-lg',
13 className,
14 )}
15 >
16 {children}
17 </div>
18 );
19}
20
21export interface WidgetTitleProps {
22 children: React.ReactNode;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected