Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-root-siblings

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-root-siblings - npm Package Compare versions

Comparing version 4.0.0-beta.8 to 4.0.0-beta.9

2

lib/RootSiblingsManager.d.ts

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc