Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

11 linesCodeBlameRaw
1import type { ComponentProps } from "react";
2
3import { cn } from "../../lib/cn";
4import { notACredential } from "./index";
5import { CONTROL } from "./input";
6
7// shadcn/ui's textarea, styled with g1t's tokens.
8
9export function Textarea({ className, ...props }: ComponentProps<"textarea">) {
10 return <textarea {...notACredential(props.autoComplete)} {...props} className={cn(CONTROL, "min-h-20 resize-y leading-relaxed", className)} />;
11}