I'm having problems using DatePicker with react native
when I'm using it, there are an error like this:
render error a date or time must be specified as value prop
my repository: [my github repository](https://github.com/weslley281/baobabrasil.git)

```
const [date, setDate] = useState(new Date());

function changeDate(selectDate) {
    if (event?.type === 'dismissed') {
      setDate(date);
      return;
    }
    setDate(selectDate);
  }

<DatePicker
  format="DD/MM/YYY"
  date={date}
  onDateChange={changeDate}
 />

```