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

Function TaskItemFile

components/ai-elements/task.tsx:14–28  ·  view source on GitHub ↗
({
  children,
  className,
  ...props
}: TaskItemFileProps)

Source from the content-addressed store, hash-verified

12export type TaskItemFileProps = ComponentProps<"div">;
13
14export const TaskItemFile = ({
15 children,
16 className,
17 ...props
18}: TaskItemFileProps) => (
19 <div
20 className={cn(
21 "inline-flex items-center gap-1 rounded-md border bg-secondary px-1.5 py-0.5 text-foreground text-xs",
22 className
23 )}
24 {...props}
25 >
26 {children}
27 </div>
28);
29
30export type TaskItemProps = ComponentProps<"div">;
31

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected