diff --git a/src/shared/components/ui/Calendar/CalendarHeader.tsx b/src/shared/components/ui/Calendar/CalendarHeader.tsx
index bc3fbed..d52427c 100644
--- a/src/shared/components/ui/Calendar/CalendarHeader.tsx
+++ b/src/shared/components/ui/Calendar/CalendarHeader.tsx
@@ -12,15 +12,23 @@ const calendarHeader = tv({
const { root, previous, next, heading } = calendarHeader();
-export const CalendarHeader = () => {
+interface CalendarHeaderProps {
+ prevIcon?: React.ReactNode;
+ nextIcon?: React.ReactNode;
+}
+
+export const CalendarHeader = ({
+ prevIcon = "◀",
+ nextIcon = "▶",
+}: CalendarHeaderProps) => {
return (
);
diff --git a/src/shared/components/ui/DatePicker/DatePicker.tsx b/src/shared/components/ui/DatePicker/DatePicker.tsx
index 289c722..40aea61 100644
--- a/src/shared/components/ui/DatePicker/DatePicker.tsx
+++ b/src/shared/components/ui/DatePicker/DatePicker.tsx
@@ -38,6 +38,7 @@ interface DatePickerBaseProps
label?: string;
description?: string;
errorMessage?: string;
+ triggerIcon?: React.ReactNode;
}
type DatePickerProps<
@@ -52,6 +53,7 @@ export const DatePicker = ({
name,
control,
slot,
+ triggerIcon = "▼",
...props
}: DatePickerProps) => {
const controller = useFieldController({ name, control });
@@ -77,7 +79,7 @@ export const DatePicker = ({
/>
)}
-
+
diff --git a/src/shared/components/ui/DateRangePicker/DateRangePicker.tsx b/src/shared/components/ui/DateRangePicker/DateRangePicker.tsx
index 9288d65..3209280 100644
--- a/src/shared/components/ui/DateRangePicker/DateRangePicker.tsx
+++ b/src/shared/components/ui/DateRangePicker/DateRangePicker.tsx
@@ -43,6 +43,7 @@ interface DateRangePickerBaseProps
label?: string;
description?: string;
errorMessage?: string;
+ triggerIcon?: React.ReactNode;
}
type DateRangePickerProps<
@@ -56,6 +57,7 @@ export const DateRangePicker = ({
errorMessage,
control,
name,
+ triggerIcon = "▼",
...props
}: DateRangePickerProps) => {
const controller = useFieldController({ name, control });
@@ -89,7 +91,7 @@ export const DateRangePicker = ({
)}
-
+