Browse Source

chore: optional onDateChange type

master
Henning Hall 3 years ago
parent
commit
284c9771b3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      index.d.ts

+ 1
- 1
index.d.ts View File

@ -48,7 +48,7 @@ export interface DatePickerProps extends ViewProps {
* The first and only argument is a Date object representing the new
* date and time.
*/
onDateChange: (date: Date) => void
onDateChange?: (date: Date) => void
/**
* Timezone offset in minutes.

Loading…
Cancel
Save