Picker Widget
A component that allows selection of a value within a range.
↓ Import the componentimport {Picker} from 'react-exo/picker';
↓ Try the example<Picker style={undefined}
selectedValue={undefined}
onValueChange={console.log}>
<Picker.Item label="Default" value=""/>
<Picker.Item label="Light" value="light"/>
<Picker.Item label="Dark" value="dark"/>
</Picker>
Dependencies
Technology
Platform | Library | Support | Notes |
---|---|---|---|
Universal | @react-native-picker/picker | ✅ | All platforms supported |