Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@storybook/addon-ondevice-backgrounds
Advanced tools
A react-native storybook addon to show different backgrounds for your preview
Storybook Backgrounds Addon for React Native can be used to change background colors of your stories right from the device.
yarn add -D @storybook/addon-ondevice-backgrounds
Then, add following content to .storybook/main.ts
:
import { StorybookConfig } from '@storybook/react-native';
const main: StorybookConfig = {
addons: ['@storybook/addon-ondevice-backgrounds'],
};
export default main;
See the example of using the Backgrounds Addon with Component Story Format. You can also run the react-native app to see it in action.
The web Backgrounds Addon documentation may also be useful, but the examples there have not been tested with Storybook for React Native.
FAQs
A react-native storybook addon to show different backgrounds for your preview
The npm package @storybook/addon-ondevice-backgrounds receives a total of 44,179 weekly downloads. As such, @storybook/addon-ondevice-backgrounds popularity was classified as popular.
We found that @storybook/addon-ondevice-backgrounds demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.