
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@storybook/addon-ondevice-knobs
Advanced tools
Storybook Addon On Device Knobs allow you to edit React props dynamically using the Storybook UI. You can also use Knobs as a dynamic variable inside stories in Storybook.
This is how Knobs look like:
This addon is a wrapper for addon @storybook/addon-knobs. Refer to its documentation to understand how to use knobs
First of all, you need to install knobs into your project.
npm install @storybook/addon-ondevice-knobs
Then create a file called rn-addons.js
in your storybook config.
import '@storybook/addon-ondevice-knobs/register';
Then import rn-addons.js
next to your getStorybookUI
call.
import './rn-addons';
Now, write your stories with knobs.
Refer to @storybook/addon-knobs to learn how to write stories.
FAQs
Display storybook story knobs on your deviced.
We found that @storybook/addon-ondevice-knobs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.