import React, { memo } from 'react'; import { StyleSheet, Platform } from 'react-native'; import WheelPicker from './wheel-picker'; import { ClassNames, PickerOption, Styles } from '../../types'; interface WheelProps { value: number | string; setValue?: (value: any) => void; items: PickerOption[]; styles?: Styles; classNames?: ClassNames; } const WheelNative = ({ value, setValue = () => {}, items, styles, classNames, }: WheelProps) => { return ( ); }; export default memo(WheelNative); const defaultStyles = StyleSheet.create({ container: { display: 'flex', ...Platform.select({ web: { userSelect: 'none', }, }), }, });