import type { CSSProperties } from 'react' import React from 'react' import { type VariantProps, cva } from 'class-variance-authority' import cn from '@/utils/classnames' const textareaVariants = cva( '', { variants: { size: { regular: 'px-3 radius-md system-sm-regular', large: 'px-4 radius-lg system-md-regular', }, }, defaultVariants: { size: 'regular', }, }, ) export type TextareaProps = { value: string disabled?: boolean destructive?: boolean styleCss?: CSSProperties } & React.TextareaHTMLAttributes & VariantProps const Textarea = React.forwardRef( ({ className, value, onChange, disabled, size, destructive, styleCss, ...props }, ref) => { return ( ) }, ) Textarea.displayName = 'Textarea' export default Textarea export { Textarea, textareaVariants }