Browse Source

Update README.md

master
Henning Hall 7 years ago
committed by GitHub
parent
commit
109060c6e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      README.md

+ 5
- 1
README.md View File

@ -30,7 +30,7 @@ export default class App extends Component {
<DatePicker <DatePicker
date={this.state.chosenDate} date={this.state.chosenDate}
onDateChange={this.setDate} onDateChange={this.setDate}
style={{ width: 300, height: 170 }}
style={styles.picker}
/> />
</View> </View>
); );
@ -44,6 +44,10 @@ const styles = StyleSheet.create({
justifyContent: 'center', justifyContent: 'center',
backgroundColor: 'white', backgroundColor: 'white',
}, },
picker: {
width: 300,
height: 170,
},
}) })
``` ```

Loading…
Cancel
Save