Replies: 1 comment
-
It's a little bit hard to understand what issue you're having here. I suggest you describe more in detail and send a screenshot/screencap. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I can't get the new value of the date in a Text Object or Alert message
To Reproduce
const [date, setDate] = useState(new Date())
const [open, setOpen] = useState(false)
return (
<>
Date Value : {date.toString()}
<Button title="Open" onPress={() => setOpen(true)} />
<DatePicker
modal
open={open}
date={date}
onConfirm={(date) => {
setOpen(false)
setDate(date)
}}
onCancel={() => {
setOpen(false)
}}
/>
</>
)
}
Beta Was this translation helpful? Give feedback.
All reactions