interface DatePickerWeekProps {
    autoSelect?: boolean;
    customAttribute?: {
        attribute: string;
        value: string | number;
    };
    disabledDates?: string[];
    isLoading?: boolean;
    lang?: InputLanguage;
    maxDate?: string;
    minDate?: string;
    numberOfDays?:
        | 7
        | 9
        | 11
        | 13
        | 15
        | 17;
    onAnimationStart?: ((dates: string[]) => void);
    onChange: ((value: string) => void);
    showCalendarButton?: boolean;
    showDateString?: boolean;
    showNavButtons?: boolean;
    value: string;
}

Properties

autoSelect?: boolean

Auto focus date picker button after animation

customAttribute?: {
    attribute: string;
    value: string | number;
}

Prop for test. Clickable and requested subcomponents will get suffixed with "-[ComponentName]"

disabledDates?: string[]
isLoading?: boolean

If true, a loading skeleton will be rendered instead of the component.

lang?: InputLanguage

Language used for internal translations.

maxDate?: string
minDate?: string
numberOfDays?:
    | 7
    | 9
    | 11
    | 13
    | 15
    | 17
onAnimationStart?: ((dates: string[]) => void)
onChange: ((value: string) => void)
showCalendarButton?: boolean
showDateString?: boolean
showNavButtons?: boolean

Show prev/next navigation buttons

value: string