react-native-misc

React Native library

This project is maintained by iliubinskii

React Native libraryDocs


React Native library / components/WheelPicker/BaseWheelPicker / Props

Interface: Props<T>

Internal

Type Parameters

T extends NumStr

Properties

color?

readonly optional color: stringU


customRef?

readonly optional customRef: MutableRefObject<Ref>


disabled?

readonly optional disabled: SharedValue<boolean>


largeSwipeSize

readonly largeSwipeSize: number


largeSwipeStopInterval

readonly largeSwipeStopInterval: number


onChange()

readonly onChange: (value) => void

Handles value change.

Parameters

value: T

Value.

Returns

void


onOverflow()?

readonly optional onOverflow: (overflow) => void

Handles overflow event.

Parameters

overflow: -1 | 1

Overflow.

Returns

void


onScrollEnd()?

readonly optional onScrollEnd: (value) => void

Handles scroll end event.

Parameters

value: T

Value.

Returns

void


onScrollStart()?

readonly optional onScrollStart: () => void

Handles scroll start event.

Returns

void


options

readonly options: Options<T>


smallSwipeSize

readonly smallSwipeSize: number


smallSwipeStopInterval

readonly smallSwipeStopInterval: number


tick

readonly tick: string


value

readonly value: T