diff --git a/src/components/Select/index.tsx b/src/components/Select/index.tsx index 0d4bf82..f069005 100644 --- a/src/components/Select/index.tsx +++ b/src/components/Select/index.tsx @@ -21,6 +21,7 @@ type SelectProps = { label?: string; fullWidth?: boolean; onChange: (event: React.ChangeEvent) => void; + onBlur?: (event: React.FocusEvent) => void; }; const Select = ({ @@ -30,6 +31,7 @@ const Select = ({ value, options, onChange, + onBlur, error, errorMessage, ...props @@ -50,7 +52,7 @@ const Select = ({
- {options.map((option) => (