mirror of
https://github.com/zhigang1992/react-native-picker.git
synced 2026-04-28 20:35:05 +08:00
modify demo
This commit is contained in:
@@ -61,7 +61,7 @@ export default class AreaPicker extends React.Component {
|
||||
</TouchableOpacity>
|
||||
<Picker
|
||||
ref={picker => this.picker = picker}
|
||||
pickerHeight={320}
|
||||
style={{height: 320}}
|
||||
showDuration={300}
|
||||
pickerData={this.state.pickerData}
|
||||
selectedValue={this.state.selectedValue}
|
||||
|
||||
@@ -51,7 +51,7 @@ export default class DatePicker extends React.Component {
|
||||
</TouchableOpacity>
|
||||
<Picker
|
||||
ref={picker => this.picker = picker}
|
||||
pickerHeight={320}
|
||||
style={{height: 320}}
|
||||
showDuration={300}
|
||||
pickerData={createDateData()}
|
||||
selectedValue={['2015年', '12月', '12日']}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-picker",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"description": "react-native-picker",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user