Skip to content

Commit 2e8a7a4

Browse files
jsamrmmazzarolo
authored andcommitted
fix: wrong import in typescript typings (#353)
Some props were imported from an inexistant @react-native-community/react-native-datetimepicker package.
1 parent a25a57e commit 2e8a7a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typings/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import * as React from "react";
99
import { ViewStyle, TextStyle } from "react-native";
10-
import { IOSNativeProps } from "@react-native-community/react-native-datetimepicker";
10+
import { IOSNativeProps } from "@react-native-community/datetimepicker";
1111

1212
export type CancelButtonComponent = React.ComponentType<{
1313
isDarkModeEnabled: boolean;
@@ -202,7 +202,7 @@ export interface DateTimePickerProps {
202202
* after Confirm was pressed.
203203
*/
204204
onHide?(date: Date): void;
205-
205+
206206
/**
207207
* Used to locate this view in end-to-end tests.
208208
*/

0 commit comments

Comments
 (0)