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
| Member | Type | Details |
|---|---|---|
startDate | string | — |
variant | "week" | "month" | "year" | — |
disabledNext | boolean | Optional. — |
disabledPrevious | boolean | Optional. — |
style | StyleProp<ViewStyle> | Optional. — |
testID | string | Optional. — |
onDateChange | ({ startDate, endDate }: OnDateChangeProps) => void | Optional. — |