Skip to content
Myr

textarea.tsx

This file

Path

apps/web/src/components/ui/textarea.tsx

17 lines · 794 bytes · TypeScript

Last changed by

Draw text, controls, prose and code from one set of tokensoscabrielbefore adoption60f862e

History of this file

Take it

The walk stopped after 200 commits: lines older than 678c8b8 point at it.

Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8

lines 1–8why, one step back
1import { cn } from "cn";
2import * as React from "react";34function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {5 return (6 <textarea7 data-slot="textarea"8 className={cn(

Draw text, controls, prose and code from one set of tokensoscabrielbefore adoption60f862e

line 9why, one step back
9 "border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 disabled:bg-surface aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 sm:text-ui flex field-sizing-content min-h-16 w-full rounded-none border bg-transparent px-2.5 py-2 text-base transition-colors outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-1",

Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8

lines 10–17why, one step back
10 className
11 )}12 {...props}13 />14 );15}1617export { Textarea };