
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
github.com/catalinmiron/react-native-css-gradient
CSS background image for React-Native using LinearGradient
from Expo.
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}>
}
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 hesitate to contact me on Twitter.
FAQs
Unknown package
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.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.