diff --git a/src/components/Select/index.tsx b/src/components/Select/index.tsx index f069005..9fbd966 100644 --- a/src/components/Select/index.tsx +++ b/src/components/Select/index.tsx @@ -17,6 +17,7 @@ type SelectProps = { errorMessage?: string; options: Array<{ value: any; label: string }>; value: string; + select?: any; name: string; label?: string; fullWidth?: boolean; @@ -29,6 +30,7 @@ const Select = ({ label, name, value, + select = null, options, onChange, onBlur, @@ -52,9 +54,14 @@ const Select = ({
- + {options.map((option, index) => ( + ))}