UNPKG

mantine-datepicker-jalali

Version:
20 lines 1.19 kB
import React from 'react'; import { DefaultProps, Selectors } from '@mantine/core'; import { CalendarHeaderStylesNames, CalendarHeaderSettings } from '../CalendarHeader'; import { MonthSettings, MonthStylesNames } from '../Month'; import useStyles from './MonthLevel.styles'; export declare type MonthLevelStylesNames = Selectors<typeof useStyles> | MonthStylesNames | CalendarHeaderStylesNames; export interface MonthLevelSettings extends MonthSettings, CalendarHeaderSettings { /** dayjs label format to display month label or a function that returns month label based on month value, defaults to "MMMM YYYY" */ monthLabelFormat?: string | ((month: Date) => React.ReactNode); locale?: string; } export interface MonthLevelProps extends DefaultProps<MonthLevelStylesNames>, MonthLevelSettings, React.ComponentPropsWithoutRef<'div'> { __staticSelector?: string; /** Month that is currently displayed */ month: Date; /** aria-label for change level control */ levelControlAriaLabel?: string; } export declare const MonthLevel: React.ForwardRefExoticComponent<MonthLevelProps & React.RefAttributes<HTMLDivElement>>; //# sourceMappingURL=MonthLevel.d.ts.map