modify demo

This commit is contained in:
xwenliang
2016-02-24 17:53:52 +08:00
parent e304564981
commit 743677cb47
3 changed files with 3 additions and 3 deletions

View File

@@ -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}

View File

@@ -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日']}

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-picker",
"version": "2.0.2",
"version": "2.0.3",
"description": "react-native-picker",
"main": "index.js",
"scripts": {