Highly ambitious ATProtocol AppView service and sdks
at main 12 lines 465 B view raw
1interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> { 2 // You can add custom props here if needed 3} 4 5export function Textarea({ className, ...props }: TextareaProps) { 6 return ( 7 <textarea 8 className={`w-full px-3 py-2 bg-zinc-900 border border-zinc-800 rounded text-sm text-zinc-300 focus:outline-none focus:border-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed ${className || ''}`} 9 {...props} 10 /> 11 ); 12}