Function
SchemaDisplayHeader
({
className,
children,
...props
}: SchemaDisplayHeaderProps)
Source from the content-addressed store, hash-verified
| 116 | export type SchemaDisplayHeaderProps = HTMLAttributes<HTMLDivElement>; |
| 117 | |
| 118 | export 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 | |
| 131 | const 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
Tested by
no test coverage detected