如何更改反应本机日期选择器的字体大小

时间:2021-05-26 06:42:29

标签: javascript react-native datepicker

我想在 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>

0 个答案:

没有答案
相关问题