
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
@moondef/react-animated-show-more
Advanced tools
This is a simple, fully-customizable component that expands an area of text to show the rest of it.
Try out the demo for yourself.
toggle
(React component) – should implement prop isOpen
height
(in pixels, default: 200
)speed
(in milliseconds, default: 300
)shadowColor
(any colour format, default: #fff
)With NPM:
npm install --save @moondef/react-animated-show-more
With Yarn:
yarn add @moondef/react-animated-show-more
The component wraps around your lengthy text section.
import React from 'react';
import AnimatedShowMore from 'react-animated-show-more';
// ...
<AnimatedShowMore
height={100}
toggle={({ isOpen }) => isOpen ? 'Close!' : 'Open!' }
speed={2000}
shadowColor="#000">
{/* Lots of stuff goes here */}
<DemoText />
</AnimatedShowMore>
Feel free to make pull requests or issues to make this project better 👯
FAQs
Fully customizable animated 'show more' plugin
The npm package @moondef/react-animated-show-more receives a total of 3 weekly downloads. As such, @moondef/react-animated-show-more popularity was classified as not popular.
We found that @moondef/react-animated-show-more 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.