Skip to main content
Glama
data-table-column-header.tsx690 B
import { Column } from '@tanstack/react-table'; import { LucideIcon } from 'lucide-react'; interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> { column: Column<TData, TValue>; title: string; icon?: LucideIcon; } export function DataTableColumnHeader<TData, TValue>({ title, className, icon: Icon, }: DataTableColumnHeaderProps<TData, TValue>) { return ( <div className={`flex items-center justify-start space-x-2 py-4 whitespace-nowrap ${className}`} > {Icon && <Icon className="h-4 w-4 text-muted-foreground flex-shrink-0" />} <div className="text-sm text-foreground">{title}</div> </div> ); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server