Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@leafygreen-ui/portal
Advanced tools
yarn add @leafygreen-ui/portal
npm install @leafygreen-ui/portal
import Portal from '@leafygreen-ui/portal';
<Portal>
<div>
Portals transport their children to a div that is appended to the end of the
document.body to or a node that can be specified with a container prop.
</div>
</Portal>;
Output HTML
<div>
<div class="leafygreen-ui-xi606m">
Portals transport their children to a div that is appended to the end of the
document.body to or a node that can be specified with a container prop.
</div>
</div>
Prop | Type | Description | Default |
---|---|---|---|
container | DOM Node | Sets the container node, which will contain all of the portaled content. If no container is supplied, a div will be created and apened to the end of the document.body . | document.createElement('div') |
children | node | The children will be rendered inside of the portaled container. |
FAQs
LeafyGreen UI Kit Portal
The npm package @leafygreen-ui/portal receives a total of 47,632 weekly downloads. As such, @leafygreen-ui/portal popularity was classified as popular.
We found that @leafygreen-ui/portal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.