Skip to content

Commit 84f71ef

Browse files
Alex-Bondmmazzarolo
authored andcommitted
fix: Allow to access props interface from outside (#321)
This will allow to properly pass typings from custom components
1 parent b7d03ee commit 84f71ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ModalProps } from "react-native-modal";
1010
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
1111
type ReactNativeModalProps = Omit<ModalProps, "children" | "isVisible">;
1212

13-
interface DateTimePickerProps {
13+
export interface DateTimePickerProps {
1414
/**
1515
* The text on the cancel button on iOS
1616
*

0 commit comments

Comments
 (0)