Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
react-native-css-gradient
Advanced tools
CSS background image for React-Native. Supported backgrounds:
import Gradient from 'react-native-css-gradient`;
render() {
const gradient = `linear-gradient(-225deg, #231557 0%, #44107A 29%, #FF1361 67%, #FFF800 100%), repeating-linear-gradient(-115deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px), repeating-linear-gradient(115deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px)`;
return <Gradient gradient={gradient} style={yourStyle}>
}
This library is working only with LinearGradient
from Expo.
TODO: Add fallback to react-native-linear-gradient
package in case when Expo is missing.
Prop | Details |
---|---|
gradient | CSS Gradient (linear and repeating) are working for the moment |
style | default styles (Note, if you're going to use repeating gradient you have to specify the width and height) |
children | - |
If you have questions please don't hesistate to contact me on Twitter.
FAQs
CSS Gradient for LinearGradient component.
The npm package react-native-css-gradient receives a total of 89 weekly downloads. As such, react-native-css-gradient popularity was classified as not popular.
We found that react-native-css-gradient 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.