[(month)] current month | TuiMonth | {year: 2021, month: 1, day: 1} |
[(view)] current view | 'year' | 'month' | 'day' | |
[(value)] value, depending on mode a single day, array or a range | null | T | |
[mode] type of value for picking | 'range' | 'multi' | 'single' | |
[max] maximal date to choose | TuiDay | null | |
[min] minimum date to choose | TuiDay | null | |
[showAdjacent] display dates from adjacent months | boolean | |
[showWeek] display week number on each row | boolean | |
[disabledItemHandler] a handler that gets a date and returns true if it is disabled. Must be a pure function | TuiBooleanHandler<TuiDay> | |
[dayType] a handler to assign data-type attribute on day cell for custom styling. Must be a pure function | TuiStringHandler<TuiDay> | |
[contentDay] custom template for day cell | PolymorpheusContent<TuiContext<TuiDay>> | |
[contentMonth] custom template for month cell | PolymorpheusContent<TuiContext<TuiMonth>> | |
[contentYear] custom template for year cell | PolymorpheusContent<TuiContext<number>> |