import { Button, DateInput, type DatePickerProps, DateSegment, type DateValue, Dialog, Group, Popover, DatePicker as ReactAriaDatePicker, } from "react-aria-components"; import { SendouBottomTexts } from "~/components/elements/BottomTexts"; import { SendouCalendar } from "~/components/elements/Calendar"; import { CalendarIcon } from "../icons/Calendar"; import styles from "./DatePicker.module.css"; import { SendouLabel } from "./Label"; interface SendouDatePickerProps extends DatePickerProps { label: string; bottomText?: string; errorText?: string; } export function SendouDatePicker({ label, errorText, bottomText, isRequired, ...rest }: SendouDatePickerProps) { return ( {label} {(segment) => ( )} ); }