Update index.d.ts

This commit is contained in:
Zhigang Fang
2019-04-23 17:19:01 +08:00
committed by GitHub
parent 327b8acdc6
commit a61b19ccbd

2
index.d.ts vendored
View File

@@ -13,7 +13,7 @@ declare module 'react-native-popover-view' {
interface PopoverViewProps {
isVisible: boolean;
mode?: 'rn-modal' | 'js-modal' | 'tooltip';
fromView?: Ref<Component<any>>;
fromView?: Component<any> | null;
fromRect?: Rect;
fromDynamicRect?: (displayAreaWidth: number, displayAreaHeight) => Rect;
displayArea?: Rect;