{childrenAboveButton && (
{childrenAboveButton}
diff --git a/src/components/widgets/DateInput/DateInput.tsx b/src/components/widgets/DateInput/DateInput.tsx
index ceef5ce..4ee6fee 100644
--- a/src/components/widgets/DateInput/DateInput.tsx
+++ b/src/components/widgets/DateInput/DateInput.tsx
@@ -1,15 +1,13 @@
"use client";
-import SelectInput, {
- SelectInputProps,
-} from "@/components/ui/SelectInput/SelectInput";
+import SystemSelectInput from "@/components/ui/SystemSelectInput/SystemSelectInput";
import Typography from "@/components/ui/Typography/Typography";
import { useDateInput } from "@/hooks/useDateInput";
type LocalSelectInputProps = Omit<
- SelectInputProps,
- "value" | "onValueChange" | "options"
+ React.ComponentProps,
+ "value" | "onChange" | "options"
>;
export interface DateInputProps {
@@ -58,30 +56,30 @@ export default function DateInput({
const inputs = {
d: (
- handleDayChange(e.target.value)}
options={dayOptions}
placeholder="DD"
{...daySelectProps}
/>
),
m: (
- handleMonthChange(e.target.value)}
options={monthOptions}
placeholder="MM"
{...monthSelectProps}
/>
),
y: (
- handleYearChange(e.target.value)}
options={yearOptions}
placeholder="YYYY"
{...yearSelectProps}