werkbank
    Preparing search index...

    Context provided by the DateInput to its child components (Day, Month, Year).

    type DateInputContext = {
        day: number | null;
        month: number | null;
        setDay: (day: number | null) => void;
        setMonth: (month: number | null) => void;
        setYear: (year: number | null) => void;
        year: number | null;
    }
    Index

    Properties

    day: number | null

    The currently selected day of the month.

    month: number | null

    The currently selected month (0-indexed).

    setDay: (day: number | null) => void

    Updates the day.

    setMonth: (month: number | null) => void

    Updates the month.

    setYear: (year: number | null) => void

    Updates the year.

    year: number | null

    The currently selected year.