MCPcopy Create free account
hub / github.com/bytebase/dbhub / InputGroupText

Function InputGroupText

frontend/src/components/ui/input-group.tsx:73–83  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"span">)

Source from the content-addressed store, hash-verified

71}
72
73function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {
74 return (
75 <span
76 className={cn(
77 "[&_svg]:-mx-0.5 line-clamp-1 flex items-center gap-2 text-muted-foreground in-[[data-slot=input-group]:has([data-slot=input-control],[data-slot=textarea-control])]:[&_svg:not([class*='size-'])]:size-4.5 sm:in-[[data-slot=input-group]:has([data-slot=input-control],[data-slot=textarea-control])]:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",
78 className,
79 )}
80 {...props}
81 />
82 );
83}
84
85function InputGroupInput({ className, ...props }: InputProps) {
86 return <Input className={className} unstyled {...props} />;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected