MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / NodeHeader

Function NodeHeader

components/ai-elements/node.tsx:37–42  ·  view source on GitHub ↗
({ className, ...props }: NodeHeaderProps)

Source from the content-addressed store, hash-verified

35export type NodeHeaderProps = ComponentProps<typeof CardHeader>;
36
37export const NodeHeader = ({ className, ...props }: NodeHeaderProps) => (
38 <CardHeader
39 className={cn("gap-0.5 rounded-t-md border-b bg-secondary p-3!", className)}
40 {...props}
41 />
42);
43
44export type NodeTitleProps = ComponentProps<typeof CardTitle>;
45

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected