Skip to main content

DateRangeProps

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 { DateRangeProps } from '@ovok/native/measurement';

TypeScript shape​

type DateRangeProps = {
startDate: string;
variant: "week" | "month" | "year";
disabledNext?: boolean;
disabledPrevious?: boolean;
style?: StyleProp<ViewStyle>;
testID?: string;
onDateChange?: ({ startDate, endDate }: OnDateChangeProps) => void;
};

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

Public members​

MemberTypeDetails
startDatestring—
variant"week" | "month" | "year"—
disabledNextbooleanOptional. —
disabledPreviousbooleanOptional. —
styleStyleProp<ViewStyle>Optional. —
testIDstringOptional. —
onDateChange({ startDate, endDate }: OnDateChangeProps) => voidOptional. —

Source​

View the declaration in the SDK source.