Function
InputGroupText
({ className, ...props }: React.ComponentProps<"span">)
Source from the content-addressed store, hash-verified
| 71 | } |
| 72 | |
| 73 | function 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 | |
| 85 | function InputGroupInput({ className, ...props }: InputProps) { |
| 86 | return <Input className={className} unstyled {...props} />; |
Callers
nothing calls this directly
Tested by
no test coverage detected