react-native-popover-view
Advanced tools
Comparing version 5.1.7 to 5.1.8
@@ -1,10 +0,10 @@ | ||
import { Component, RefObject, ReactNode } from 'react'; | ||
import { Component, PropsWithChildren, RefObject, ReactNode } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { View, ViewProps } from 'react-native'; | ||
import { ViewProps } from 'react-native'; | ||
import { Rect, PopoverProps, Placement, Mode, Point, Size } from './Types'; | ||
export interface PublicPopoverProps extends Omit<PopoverProps, 'displayArea' | 'arrowSize'> { | ||
export interface PublicPopoverProps extends PropsWithChildren<Omit<PopoverProps, 'displayArea' | 'arrowSize'>> { | ||
displayArea?: Pick<Rect, 'x' | 'y' | 'width' | 'height'>; | ||
arrowSize?: Pick<Size, 'width' | 'height'>; | ||
mode?: Mode; | ||
from?: Rect | RefObject<View> | ((sourceRef: RefObject<View>, openPopover: () => void) => ReactNode) | ReactNode | Point; | ||
from?: Rect | RefObject<Component> | ((sourceRef: RefObject<Component>, openPopover: () => void) => ReactNode) | ReactNode | Point; | ||
testID?: ViewProps['testID']; | ||
@@ -11,0 +11,0 @@ } |
{ | ||
"name": "react-native-popover-view", | ||
"version": "5.1.7", | ||
"version": "5.1.8", | ||
"description": "A <Popover /> component for react-native iOS, Android, and Web", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"author": "Peter Steffey <steffeydev@icloud.com> (https://github.com/steffeydev)", | ||
"author": "Peter Steffey (https://steffey.dev)", | ||
"keywords": [ | ||
@@ -9,0 +9,0 @@ "react-component", |
@@ -15,2 +15,8 @@ ## react-native-popover-view | ||
------ | ||
##### Looking for maintainers | ||
I no longer have any React Native apps that I actively maintain, and so am thus detached from the community and need to focus my attention elsewhere. If you actively use this project and are interested in maintaining it, please reach out and let me know! | ||
##### Table of Contents | ||
@@ -17,0 +23,0 @@ * [Features](#features) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
279152
468