oziko-ui-kit 0.0.62 → 0.0.63
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.
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { DatePickerProps as AntDatePickerProps } from "antd";
|
|
2
|
+
export type AntDatePickerSharedProps = Omit<AntDatePickerProps, "value" | "onChange">;
|
|
2
3
|
type DatePickerProps = {
|
|
3
4
|
onChange?: (value: string | string[]) => void;
|
|
4
5
|
value: Date | string | null | undefined;
|
|
5
|
-
} &
|
|
6
|
+
} & AntDatePickerSharedProps;
|
|
6
7
|
declare const DatePicker: ({ value, onChange, ...props }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export default DatePicker;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { AntDatePickerSharedProps } from "../../../date-picker/DatePicker";
|
|
2
3
|
type DateRangePickerProps = {
|
|
3
4
|
label?: string;
|
|
4
5
|
description?: string;
|
|
@@ -6,6 +7,7 @@ type DateRangePickerProps = {
|
|
|
6
7
|
value?: Date | string | null;
|
|
7
8
|
placeholder?: string;
|
|
8
9
|
inputContainerClassName?: string;
|
|
10
|
+
datePickerProps?: AntDatePickerSharedProps;
|
|
9
11
|
};
|
|
10
12
|
declare const _default: React.NamedExoticComponent<DateRangePickerProps>;
|
|
11
13
|
export default _default;
|