diff --git a/src/components/TextArea/index.tsx b/src/components/TextArea/index.tsx index 655fd28..5c423a3 100644 --- a/src/components/TextArea/index.tsx +++ b/src/components/TextArea/index.tsx @@ -21,6 +21,7 @@ type TextAreaProps = { placeholder?: string; fullWidth?: boolean; onChange: (event: React.ChangeEvent) => void; + onBlur?: (event: React.FocusEvent) => void; }; const TextArea = ({ @@ -30,6 +31,7 @@ const TextArea = ({ placeholder, value, onChange, + onBlur, error, errorMessage, ...props @@ -55,6 +57,7 @@ const TextArea = ({ value={value} name={name} onChange={onChange} + onBlur={onBlur} placeholder={placeholder} />