componenteshospitais 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ interface InputFieldProps {
|
|
|
5
5
|
id: string;
|
|
6
6
|
placeholder: string;
|
|
7
7
|
value: string;
|
|
8
|
-
onChange?: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
8
|
+
onChange?: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
|
|
9
9
|
largura?: string;
|
|
10
10
|
readonly?: boolean;
|
|
11
11
|
disabled?: boolean;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ interface InputFieldProps {
|
|
|
9
9
|
id: string;
|
|
10
10
|
placeholder: string;
|
|
11
11
|
value: string;
|
|
12
|
-
onChange?: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void; // Aceitando também TextAreaElement
|
|
12
|
+
onChange?: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void; // Aceitando também TextAreaElement
|
|
13
13
|
largura?: string;
|
|
14
14
|
readonly?: boolean;
|
|
15
15
|
disabled?: boolean;
|