@cfxlabsinc/b2b-services
    Preparing search index...
    DateInput: Omit<
        AriaDateFieldProps<CalendarDate>,

            | "value"
            | "defaultValue"
            | "minValue"
            | "maxValue"
            | "placeholderValue"
            | "onChange",
    > & Omit<
        HTMLAttributes<HTMLDivElement>,
        "value" | "defaultValue" | "onChange",
    > & {
        classNames?: Partial<{ editableSegment: string; staticSegment: string }>;
        defaultValue?: Date;
        onChange?: (date: Date | null) => void;
        placeholderValue?: Date;
        size?: "lg" | "md" | "sm" | "xs";
        timeZone?: string;
        value?: Date | null;
    }

    Field for user to input a date

    <DateInput onChange={(date) => { ... }} />
    

    Type Declaration

    • OptionalclassNames?: Partial<{ editableSegment: string; staticSegment: string }>
    • OptionaldefaultValue?: Date
    • OptionalonChange?: (date: Date | null) => void
    • OptionalplaceholderValue?: Date
    • Optionalsize?: "lg" | "md" | "sm" | "xs"
    • OptionaltimeZone?: string

      The zone a Date is read and written in: midnight there. Defaults to the viewer's display zone (useTimeZone). A calendar date with no zone, such as a date of birth parsed from yyyy-MM-dd, passes "UTC".

    • Optionalvalue?: Date | null

      Resets the field when the value is null