我想在 React Native 日期选择器中更改日期大小。这是我的代码。
<View style={{alignSelf:'center', marginTop:'10%', backgroundColor:'white', borderColor:'#7a6fbe', borderWidth:1, width:width/1.2, borderRadius:10}}>
<DatePicker style={{height:height/22.1, borderRadius:15, width:width/1.3}}
date={this.state.date}
onDateChange={(date)=>this.setState({date:date})}
mode="date"
/>
</View>