react-native-root-siblings
Advanced tools
Comparing version 4.0.0-beta.8 to 4.0.0-beta.9
@@ -9,4 +9,4 @@ import { ReactNode } from 'react'; | ||
} | ||
export declare function RootSiblingProtal(props: { | ||
export declare function RootSiblingPortal(props: { | ||
children: ReactNode; | ||
}): null; |
@@ -33,3 +33,3 @@ import { useEffect, useState } from 'react'; | ||
} | ||
export function RootSiblingProtal(props) { | ||
export function RootSiblingPortal(props) { | ||
const [sibling, setSibling] = useState(null); | ||
@@ -36,0 +36,0 @@ if (!sibling) { |
{ | ||
"version": "4.0.0-beta.8", | ||
"version": "4.0.0-beta.9", | ||
"name": "react-native-root-siblings", | ||
@@ -4,0 +4,0 @@ "repository": { |
@@ -75,3 +75,3 @@ ## react-native-root-siblings [![npm version](https://badge.fury.io/js/react-native-root-siblings.svg)](http://badge.fury.io/js/react-native-root-siblings) | ||
``` | ||
import { RootSiblingProtal } from 'react-native-root-siblings'; | ||
import { RootSiblingPortal } from 'react-native-root-siblings'; | ||
@@ -82,5 +82,5 @@ | ||
return ( | ||
<RootSiblingProtal> | ||
<RootSiblingPortal> | ||
<View style={[StyleSheet.absoluteFull, { backgroundColor: 'rgba(0, 0, 0, 0.25)' }]} /> | ||
</RootSiblingProtal> | ||
</RootSiblingPortal> | ||
) | ||
@@ -87,0 +87,0 @@ } |
@@ -44,3 +44,3 @@ import { ReactNode, useEffect, useState } from 'react'; | ||
export function RootSiblingProtal(props: { children: ReactNode }) { | ||
export function RootSiblingPortal(props: { children: ReactNode }) { | ||
const [sibling, setSibling] = useState<null | RootSiblingsManager>(null); | ||
@@ -47,0 +47,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package