Update select component

This commit is contained in:
Hazem Krimi
2021-04-21 00:28:09 +01:00
parent 66cc199c65
commit 7a289a6143
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ type SelectProps = {
errorMessage?: string; errorMessage?: string;
options: Array<{ value: any; label: string }>; options: Array<{ value: any; label: string }>;
value: string; value: string;
label: string; label?: string;
fullWidth?: boolean; fullWidth?: boolean;
onChange: (event: React.ChangeEvent<HTMLSelectElement>) => void; onChange: (event: React.ChangeEvent<HTMLSelectElement>) => void;
}; };
+1 -1
View File
@@ -15,7 +15,7 @@ type WrapperProps = {
error?: boolean; error?: boolean;
errorMessage?: string; errorMessage?: string;
type?: 'text' | 'email' | 'password' | 'file' | 'number'; type?: 'text' | 'email' | 'password' | 'file' | 'number';
label: string; label?: string;
fullWidth?: boolean; fullWidth?: boolean;
}; };