@abgov/react-components 5.0.0-alpha.1 → 5.0.0-alpha.2
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/index.js +2 -0
- package/index.js.map +1 -1
- package/index.mjs +2 -0
- package/index.mjs.map +1 -1
- package/lib/date-picker/date-picker.d.ts +3 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ interface WCProps extends Margins {
|
|
|
6
6
|
error?: boolean;
|
|
7
7
|
min?: string;
|
|
8
8
|
max?: string;
|
|
9
|
+
disabled?: boolean;
|
|
9
10
|
}
|
|
10
11
|
declare global {
|
|
11
12
|
namespace JSX {
|
|
@@ -21,7 +22,8 @@ export interface GoADatePickerProps extends Margins {
|
|
|
21
22
|
min?: Date;
|
|
22
23
|
max?: Date;
|
|
23
24
|
testId?: string;
|
|
25
|
+
disabled?: boolean;
|
|
24
26
|
onChange: (name: string, value: Date) => void;
|
|
25
27
|
}
|
|
26
|
-
export declare function GoADatePicker({ name, value, error, min, max, testId, mt, mr, mb, ml, onChange, }: GoADatePickerProps): JSX.Element;
|
|
28
|
+
export declare function GoADatePicker({ name, value, error, min, max, testId, disabled, mt, mr, mb, ml, onChange, }: GoADatePickerProps): JSX.Element;
|
|
27
29
|
export default GoADatePicker;
|