MCPcopy Create free account
hub / github.com/MagicCube/agentara / SchemaDisplayHeader

Function SchemaDisplayHeader

web/src/components/ai-elements/schema-display.tsx:118–129  ·  view source on GitHub ↗
({
  className,
  children,
  ...props
}: SchemaDisplayHeaderProps)

Source from the content-addressed store, hash-verified

116export type SchemaDisplayHeaderProps = HTMLAttributes<HTMLDivElement>;
117
118export const SchemaDisplayHeader = ({
119 className,
120 children,
121 ...props
122}: SchemaDisplayHeaderProps) => (
123 <div
124 className={cn("flex items-center gap-3 border-b px-4 py-3", className)}
125 {...props}
126 >
127 {children}
128 </div>
129);
130
131const methodStyles: Record<HttpMethod, string> = {
132 DELETE: "bg-red-100 text-red-700 dark:bg-red-900/30 dark:text-red-400",

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected