diff --git a/src/components/Select/index.tsx b/src/components/Select/index.tsx index 4792a0e..d6d6ff2 100644 --- a/src/components/Select/index.tsx +++ b/src/components/Select/index.tsx @@ -17,7 +17,7 @@ type SelectProps = { errorMessage?: string; options: Array<{ value: any; label: string }>; value: string; - label: string; + label?: string; fullWidth?: boolean; onChange: (event: React.ChangeEvent) => void; }; diff --git a/src/components/Select/styles.ts b/src/components/Select/styles.ts index fe1a70d..0c16669 100644 --- a/src/components/Select/styles.ts +++ b/src/components/Select/styles.ts @@ -15,7 +15,7 @@ type WrapperProps = { error?: boolean; errorMessage?: string; type?: 'text' | 'email' | 'password' | 'file' | 'number'; - label: string; + label?: string; fullWidth?: boolean; };