UNPKG

@fluentui/react

Version:

Reusable React components for building web experiences.

21 lines (20 loc) 1.06 kB
import * as React from 'react'; import type { ICalendarDayGridProps, ICalendarDayGridStyles } from './CalendarDayGrid.types'; import type { IProcessedStyleSet } from '@fluentui/style-utilities'; import type { IDayInfo, IWeekCorners } from './CalendarDayGrid.base'; export interface ICalendarGridRowProps extends ICalendarDayGridProps { classNames: IProcessedStyleSet<ICalendarDayGridStyles>; weeks: IDayInfo[][]; week: IDayInfo[]; weekIndex: number; weekCorners?: IWeekCorners; ariaHidden?: boolean; rowClassName?: string; ariaRole?: string; navigatedDayRef: React.MutableRefObject<HTMLTableCellElement>; activeDescendantId: string; calculateRoundedStyles(classNames: IProcessedStyleSet<ICalendarDayGridStyles>, above: boolean, below: boolean, left: boolean, right: boolean): string; getDayInfosInRangeOfDay(dayToCompare: IDayInfo): IDayInfo[]; getRefsFromDayInfos(dayInfosInRange: IDayInfo[]): (HTMLElement | null)[]; } export declare const CalendarGridRow: React.FunctionComponent<ICalendarGridRowProps>;