Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / packages/design-system/components/shadcn/textarea.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | packages/design-system/components/shadcn/textarea.tsx |
| Original SHA-256 | a282c279bfb24f0ba73bd7e2442ff6afc59a5e9dd0baad5ab9e32f376ad64291 |
| Git blob SHA | 6fe064ce21dccdc823d659902f68b567222d6a10 |
| Reading-copy SHA-256 | a282c279bfb24f0ba73bd7e2442ff6afc59a5e9dd0baad5ab9e32f376ad64291 |
Recovered source transcript
Download complete source text ↓19 lines · 0.7 KB
import * as React from 'react'
import { cn } from '../../lib/utils'
function Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {
return (
<textarea
data-slot="textarea"
className={cn(
'border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
className
)}
{...props}
/>
)
}
export { Textarea }