diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index a94c3a14d0..f23682f901 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -2942,7 +2942,17 @@ export interface DatePickerIOSProps extends ViewProps { /** * The currently selected date. */ - date: Date; + date?: Date | null; + + /** + * Provides an initial value that will change when the user starts selecting + * a date. It is useful for simple use-cases where you do not want to deal + * with listening to events and updating the date prop to keep the + * controlled state in sync. The controlled state has known bugs which + * causes it to go out of sync with native. The initialDate prop is intended + * to allow you to have native be source of truth. + */ + initialDate?: Date | null; /** * The date picker locale.