Created
April 17, 2019 12:33
-
-
Save wwwjsw/21732938dfebef833fc3411170ac5f61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var options =["teste1","teste2","teste3","teste4"]; | |
| <Picker | |
| mode="dropdown" | |
| selectedValue={this.state.selected} | |
| onValueChange={()=>{}}> | |
| {options.map((item, index) => { | |
| return (<Picker.Item label={item} value={index} key={index}/>) | |
| })} | |
| </Picker> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment