From 99f1807ef135e5e6c991e05e848cdc4939a0f6ef Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Fri, 9 Feb 2024 17:33:41 -0500 Subject: [PATCH] fix: don't require id or name on Textarea These are optional properties for input elements. Just pass them through in inputProps. --- src/components/forms/Textarea/Textarea.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/forms/Textarea/Textarea.tsx b/src/components/forms/Textarea/Textarea.tsx index 187836ba7c..e122f4755a 100644 --- a/src/components/forms/Textarea/Textarea.tsx +++ b/src/components/forms/Textarea/Textarea.tsx @@ -10,8 +10,6 @@ type TextareaRef = | undefined export interface TextareaProps { - id: string - name: string className?: string error?: boolean success?: boolean @@ -20,8 +18,6 @@ export interface TextareaProps { } export const Textarea = ({ - id, - name, className, error, success, @@ -42,8 +38,6 @@ export const Textarea = ({