react-native打开一个日期控件
代码:
export default class XXX extends Component{
constructor(props){
super(props);
this.tomorrowDate=this.getTomorrow();
this.state={
chooseDate: this.tomorrowDate.getFullYear()+'-'+ this.tomorrowDate.getMonth()+'-'+ this.tomorrowDate.getDate(),
}
}
reder(){
return(
<View><Text onPress={()=>this.dateChoose(0)}>显示日期</Text></View>
);
}
}
以上是 react-native打开一个日期控件 的全部内容, 来源链接: utcz.com/z/383995.html