Function
CodeBlockHeader
({
children,
className,
...props
}: HTMLAttributes<HTMLDivElement>)
Source from the content-addressed store, hash-verified
| 328 | ); |
| 329 | |
| 330 | export const CodeBlockHeader = ({ |
| 331 | children, |
| 332 | className, |
| 333 | ...props |
| 334 | }: HTMLAttributes<HTMLDivElement>) => ( |
| 335 | <div |
| 336 | className={cn( |
| 337 | "flex items-center justify-between border-b bg-muted/80 px-3 py-2 text-muted-foreground text-xs", |
| 338 | className |
| 339 | )} |
| 340 | {...props} |
| 341 | > |
| 342 | {children} |
| 343 | </div> |
| 344 | ); |
| 345 | |
| 346 | export const CodeBlockTitle = ({ |
| 347 | children, |
Callers
nothing calls this directly
Tested by
no test coverage detected