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