diff --git a/src/core/components/Input/InputDatePicker/InputDatePicker.stories.tsx b/src/core/components/Input/InputDatePicker/InputDatePicker.stories.tsx index 4b259bc..82a13f7 100644 --- a/src/core/components/Input/InputDatePicker/InputDatePicker.stories.tsx +++ b/src/core/components/Input/InputDatePicker/InputDatePicker.stories.tsx @@ -37,7 +37,7 @@ const DefaultLayout = () => { >
- +
diff --git a/src/core/components/Input/InputDatePicker/index.tsx b/src/core/components/Input/InputDatePicker/index.tsx index 4739797..3b35a83 100644 --- a/src/core/components/Input/InputDatePicker/index.tsx +++ b/src/core/components/Input/InputDatePicker/index.tsx @@ -24,6 +24,7 @@ const InputDatePicker = ({ inputClassName, afterAllDate, label, + dateLabel, closeButtonText, }: InputDatePickerProps & HTMLAttributes) => { const id = useId(); @@ -46,6 +47,7 @@ const InputDatePicker = ({ getPeriodDates(periodDates, isAfterAllDate); close(); }} + dateLabel = {dateLabel} initialDate = {initialDate} cutoffDate = {cutoffDate} cutoffAfterDate = {cutoffAfterDate}