AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import {
DataTable,
DataTableProps,
DataWithId,
} from '@/components/custom/data-table';
import { adminSurface } from './admin-surface';
export function AdminDataTable<
TData extends DataWithId,
TValue,
Keys extends string,
>(
props: Omit<
DataTableProps<TData, TValue, Keys>,
'bordered' | 'frameClassName' | 'toolbarClassName'
>,
) {
return (
<div
data-slot="admin-data-table"
className="flex max-h-full min-h-0 flex-initial flex-col"
>
<DataTable
{...props}
emptyStateIcon={
props.emptyStateIcon && (
<span className="flex size-10 items-center justify-center rounded-lg bg-gray-3 text-gray-11 [&_svg]:size-5">
{props.emptyStateIcon}
</span>
)
}
bordered
frameClassName={adminSurface.listFrame}
toolbarClassName="px-0 pt-0 pb-4"
/>
</div>
);
}