Function
WidgetHead
({ children, className }: WidgetHeadProps)
Source from the content-addressed store, hash-verified
| 6 | className?: string; |
| 7 | } |
| 8 | export 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 | |
| 21 | export interface WidgetTitleProps { |
| 22 | children: React.ReactNode; |
Callers
nothing calls this directly
Tested by
no test coverage detected