Skip to main content

WheelPickerProps

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

Kind: Interface
Package: @ovok/native

Import​

import { WheelPickerProps } from '@ovok/native/picker-sheet';

TypeScript shape​

interface WheelPickerProps {
selectedIndex: number;
options: string[];
onChange: (index: number) => void;
selectedIndicatorStyle?: StyleProp<ViewStyle>;
itemTextStyle?: StyleProp<TextStyle>;
itemStyle?: StyleProp<ViewStyle>;
itemHeight?: number;
containerStyle?: StyleProp<ViewStyle>;
containerProps?: Omit<ViewProps, "style">;
visibleItems?: number;
decelerationRate?: "normal" | "fast" | number;
accessibilityLabel?: string;
accessibilityHint?: string;
nestedScrollEnabled?: boolean;
accessibilityIncrementLabel?: string;
accessibilityDecrementLabel?: string;
}

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

Public members​

MemberTypeDetails
selectedIndexnumber—
optionsstring[]—
onChange(index: number): void—
selectedIndicatorStyleStyleProp<ViewStyle>Optional. —
itemTextStyleStyleProp<TextStyle>Optional. —
itemStyleStyleProp<ViewStyle>Optional. —
itemHeightnumberOptional. —
containerStyleStyleProp<ViewStyle>Optional. —
containerPropsOmit<ViewProps, "style">Optional. —
visibleItemsnumberOptional. —
decelerationRate"normal" | "fast" | numberOptional. —
accessibilityLabelstringOptional. —
accessibilityHintstringOptional. —
nestedScrollEnabledbooleanOptional. —
accessibilityIncrementLabelstringOptional. —
accessibilityDecrementLabelstringOptional. —

Source​

View the declaration in the SDK source.