Skip to main content

PeriodCalendarProps

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/native

Import​

import { PeriodCalendarProps } from '@ovok/native/ui';

TypeScript shape​

type PeriodCalendarProps = Omit<CalendarProps, "markers" | "getMarkerForDate"> & {
periods: readonly PeriodDateRange[];
periodLabel?: string;
labelForPeriodDate?: (date: Date) => string;
showLegend?: boolean;
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
testIDstringOptional. —
themeOvokThemeOverrideOptional. A partial theme is merged with the active react-native-paper theme.
slotsPartial<OvokUiSlots>Optional. Replace individual primitives without forking an SDK component.
selectedDateCalendarDateInput | nullOptional. —
defaultSelectedDateCalendarDateInputOptional. —
onDateSelect(date: Date) => voidOptional. —
visibleMonthCalendarDateInputOptional. —
defaultVisibleMonthCalendarDateInputOptional. —
onVisibleMonthChange(month: Date) => voidOptional. —
localestringOptional. —
weekStartsOnWeekStartsOnOptional. —
minDateCalendarDateInputOptional. —
maxDateCalendarDateInputOptional. —
isDateDisabled(date: Date) => booleanOptional. —
labelForDate(date: Date) => stringOptional. —
previousMonthLabelstringOptional. —
nextMonthLabelstringOptional. —
periodsreadonly PeriodDateRange[]—
periodLabelstringOptional. —
labelForPeriodDate(date: Date) => stringOptional. —
showLegendbooleanOptional. —

Learn the workflow​

Continue with Ui And Data for the workflow context and examples.

Source​

View the declaration in the SDK source.