16 lines
378 B
TypeScript
16 lines
378 B
TypeScript
import * as React from "react"
|
|
import { cn } from "@/lib/cn"
|
|
import { fieldClass } from "@/components/ui/input"
|
|
|
|
function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {
|
|
return (
|
|
<textarea
|
|
data-slot="textarea"
|
|
className={cn(fieldClass, "resize-y px-3 py-2.5 leading-normal", className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Textarea }
|