
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
@times-components/gradient
Advanced tools
The gradient component wraps any children and adds a gradient background. The gradient's angle can be configured by the consumer of gradient. There are two exported components:
Gradient
- used for image placeholders and loading screensOverlayGradient
- developed for use when overlaying text over parts of an
imageimport Gradient, { OverlayGradient } from "@times-components/gradient";
// Works on it's own
<Gradient
degrees={90}
style={{
width: 200,
height: 200
}}>
</Gradient>
// Works with children
<OverlayGradient
degrees={90}
style={{
width: 200,
height: 200
}}>
<Text>Example text</Text>
</OverlayGradient>
Please read CONTRIBUTING.md before contributing to this package
Please see our main README.md to get the project running locally
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt
yarn lint
This package uses yarn (latest) to run unit tests on each platform with jest.
yarn test:web
Visit the official storybook to see our available gradient templates.
FAQs
Renders a gradient background
The npm package @times-components/gradient receives a total of 773 weekly downloads. As such, @times-components/gradient popularity was classified as not popular.
We found that @times-components/gradient demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.