Home / File/ textarea.tsx — ui Source File

textarea.tsx — ui Source File

Architecture documentation for textarea.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  76c7e86c_1b88_c078_b230_94d5b76814f0["textarea.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  76c7e86c_1b88_c078_b230_94d5b76814f0 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"]
  76c7e86c_1b88_c078_b230_94d5b76814f0 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81
  style 76c7e86c_1b88_c078_b230_94d5b76814f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import * as React from "react"

import { cn } from "@/lib/utils"

const Textarea = React.forwardRef<
  HTMLTextAreaElement,
  React.ComponentProps<"textarea">
>(({ className, ...props }, ref) => {
  return (
    <textarea
      className={cn(
        "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
        className
      )}
      ref={ref}
      {...props}
    />
  )
})
Textarea.displayName = "Textarea"

export { Textarea }

Subdomains

Functions

Dependencies

  • react
  • utils

Frequently Asked Questions

What does textarea.tsx do?
textarea.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in textarea.tsx?
textarea.tsx defines 1 function(s): Textarea.
What does textarea.tsx depend on?
textarea.tsx imports 2 module(s): react, utils.
Where is textarea.tsx in the architecture?
textarea.tsx is located at deprecated/www/registry/default/ui/textarea.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/ui).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free