Overview of Mantine YearPicker components
The YearPicker components allow users to select years and are based on the Mantine YearPicker. They require the @mantine/dates package and are distributed via @react-form-builder/components-mantine.
There are three available variants:
- MtYearPicker: For selecting a single specific year (e.g., a fiscal year). Value shape:
Date | null. - MtYearRangePicker: For selecting a continuous span of years (start and end year). Value shape:
[Date, Date] | null. - MtYearMultiplePicker: For selecting an arbitrary set of non-contiguous years. Value shape:
Date[].