
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
[](https://travis-ci.org/vigetlabs/react-ink)
Add ink to any react component.
Include ./ink.css
within your stylesheet build process. Then you can include the <Ink />
component like so:
var React = require('react');
var Ink = require('react-ink');
module.exports = React.createClass({
render() {
return (
<div>
<Ink />
</div>
);
}
});
There are several options available for how <Ink />
renders, see the getDefaultProps()
declaration, however descriptions follow:
{
background : true, // When true, pressing the ink will cause the background to fill with the current color
color : null, // When set, this will override the css rule `fill: currentColor`
duration : 1500, // Duration of the full animation completion
opacity : 0.2, // The opacity of the ink blob
radius : 150, // The size of the effect, will not exceed bounds of containing element
recenter : true // When true, recenter will pull ink towards the center of the containing element
}
FAQs
A React component for adding material design style ink.
The npm package react-ink receives a total of 20,454 weekly downloads. As such, react-ink popularity was classified as popular.
We found that react-ink 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
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.