showing results for - "how to add a picker in expo"
Simon
09 Jan 2017
1import {Picker} from '@react-native-picker/picker';
2
3<Picker
4  selectedValue={this.state.language}
5  style={{height: 50, width: 100}}
6  onValueChange={(itemValue, itemIndex) =>
7    this.setState({language: itemValue})
8  }>
9  <Picker.Item label="Java" value="java" />
10  <Picker.Item label="JavaScript" value="js" />
11</Picker>