diff --git a/example/src/PickerIOSExample.tsx b/example/src/PickerIOSExample.tsx index 842d4a048..25b2ef2c3 100644 --- a/example/src/PickerIOSExample.tsx +++ b/example/src/PickerIOSExample.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import {Text, StyleSheet, View} from 'react-native'; +import {Button, Text, StyleSheet, View} from 'react-native'; import {PickerIOS} from '@react-native-picker/picker'; const CAR_MAKES_AND_MODELS = { @@ -127,6 +127,32 @@ function PickerExample() { ); } +function ControlledPickerRapidUpdatesExample() { + const [value, setValue] = React.useState('first'); + + return ( + + Rapidly alternate the two buttons while the wheel is moving. +