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(),

}

react-native打开一个日期控件_第1张图片

react-native打开一个日期控件_第2张图片

}

reder(){

return(

this.dateChoose(0)}>显示日期

);

}

}

你可能感兴趣的:(手机移动)