mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update select component
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user