{/* {selectedDate.format("jYYYY/jMM/jDD")} //for more formats and */}
1400/12/1
<PersianDatePicker
type="Jalali"
yearCount={10}
onConfirm={date => this.setState({ selectedDate: date })}
ref={ref => (this.picker = ref)}
/>
`
and show error null is not an object (evaluating "picker._init")
I use ` <View style={{ flex: 1, backgroundColor: "blue", justifyContent: "center", alignItems: "center" }}