Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-toggletip
Advanced tools
Simple toggletip and tooltip for your react apps
I wanted a simple light-weight tooltip library for react that just does one good thing and does it well - displaying tooltips on hover
For context as to why it's called a "toggletip", read this blog for details
aria
attributes for accessibility and to work with screen readers$ npm install --save react-toggletip
or if you are using yarn
$ yarn add react-toggletip
https://rcdexta.github.io/react-toggletip
ToggleTip component will render a info icon by default. The default icon can be overridden with props given below. If you want to display tooltips over custom content, wrap ToggleTip around the content.
Name | Type | Description |
---|---|---|
content | String or array of strings | The tooltip content. Pass array of strings if you want multiline tooltips |
placement | string | one of bottom-right , bottom , bottom-left ,right ,left ,top-right ,top ,top-left |
animated | boolean | Disable tooltip animations. Default: true |
icon | node | Replace info icon with custom icon |
children | node | Display tooltip on top of custom content instead of icons |
MIT
FAQs
Simple toggletip and tooltip for your react apps
The npm package react-toggletip receives a total of 6 weekly downloads. As such, react-toggletip popularity was classified as not popular.
We found that react-toggletip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.