@thecb/components 8.2.1 → 8.2.2-beta.0
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.
package/package.json
CHANGED
|
@@ -3,19 +3,15 @@ import Expand from "../../../util/expand";
|
|
|
3
3
|
import {
|
|
4
4
|
ErrorMessageDictionary,
|
|
5
5
|
Field,
|
|
6
|
-
FieldActions
|
|
6
|
+
FieldActions,
|
|
7
|
+
FormSelectOption
|
|
7
8
|
} from "../../../types/common";
|
|
8
9
|
|
|
9
|
-
interface Option {
|
|
10
|
-
text?: string;
|
|
11
|
-
value?: string | number;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
10
|
export interface FormSelectProps {
|
|
15
11
|
disabled?: boolean;
|
|
16
12
|
dropdownMaxHeight?: string;
|
|
17
13
|
labelTextWhenNoError?: string;
|
|
18
|
-
options?:
|
|
14
|
+
options?: FormSelectOption[];
|
|
19
15
|
fieldActions?: FieldActions;
|
|
20
16
|
showErrors?: boolean;
|
|
21
17
|
errorMessages?: ErrorMessageDictionary;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as Field } from "./Field";
|
|
2
2
|
export { default as ReduxAction } from "./ReduxAction";
|
|
3
3
|
export { default as FieldActions } from "./FieldActions";
|
|
4
|
+
export { default as FormSelectOption } from "./FormSelectOption";
|
|
4
5
|
export { default as ErrorMessageDictionary } from "./ErrorMessageDictionary";
|
|
5
6
|
export * from "./FieldActions";
|