Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
react-toggletip
Advanced tools
Readme
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 2 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.