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
| Member | Type | Details |
|---|---|---|
selectedIndex | number | — |
options | string[] | — |
onChange | (index: number): void | — |
selectedIndicatorStyle | StyleProp<ViewStyle> | Optional. — |
itemTextStyle | StyleProp<TextStyle> | Optional. — |
itemStyle | StyleProp<ViewStyle> | Optional. — |
itemHeight | number | Optional. — |
containerStyle | StyleProp<ViewStyle> | Optional. — |
containerProps | Omit<ViewProps, "style"> | Optional. — |
visibleItems | number | Optional. — |
decelerationRate | "normal" | "fast" | number | Optional. — |
accessibilityLabel | string | Optional. — |
accessibilityHint | string | Optional. — |
nestedScrollEnabled | boolean | Optional. — |
accessibilityIncrementLabel | string | Optional. — |
accessibilityDecrementLabel | string | Optional. — |