Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Packages lists like a registry: Type, search, Visibility and Sort in one bar, richer rows, and a registry to choose from to start | 1 | import type { ComponentProps } from "react"; |
| 2 | ||
| 3 | import { cn } from "../../lib/cn"; | |
| 4 | import { notACredential } from "./index"; | |
| 5 | import { CONTROL } from "./input"; | |
| 6 | ||
| 7 | // shadcn/ui's textarea, styled with g1t's tokens. | |
| 8 | ||
| 9 | export function Textarea({ className, ...props }: ComponentProps<"textarea">) { | |
| 10 | return ( | |
| 11 | <textarea | |
| 12 | {...notACredential(props.autoComplete)} | |
| 13 | {...props} | |
| 14 | className={cn(CONTROL, "min-h-20 resize-y leading-relaxed", className)} | |
| 15 | /> | |
| 16 | ); | |
| 17 | } |
This file's history is long; its oldest lines are credited to the oldest commit read.