Skip to content

Commit

Permalink
fix(types): omitted underlying onChange prop type (#680)
Browse files Browse the repository at this point in the history
Co-authored-by: Cesar Pintos <[email protected]>
  • Loading branch information
burzacoding and Cesar Pintos authored Dec 20, 2022
1 parent 97da962 commit b02409d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ export interface DateTimePickerProps {
}

type NativePickerProps =
| Omit<IOSNativeProps, "value" | "mode">
| Omit<AndroidNativeProps, "value" | "mode">;
| Omit<IOSNativeProps, "value" | "mode" | "onChange">
| Omit<AndroidNativeProps, "value" | "mode" | "onChange">;

export type ReactNativeModalDateTimePickerProps = DateTimePickerProps &
NativePickerProps;
Expand Down

0 comments on commit b02409d

Please sign in to comment.