[英]How can i do custom date picker in react-native
*) Follow the below steps. *) 请按照以下步骤操作。
That is it you can generate a Date Picker like you side.那就是你可以像你身边一样生成一个日期选择器。
You can get that look by using the react-native-date-picker library and the following code:您可以通过使用react-native-date-picker库和以下代码来获得该外观:
<DatePicker
date={date}
onDateChange={setDate}
mode="date"
/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.