Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@storybook/addon-ondevice-knobs
Advanced tools
Readme
This addon is depcrecated in favour of controls, please only use it for transitioning to CSF, Args and Controls
See examples for migrating from Knobs to Controls in the web Controls Addon README.
Storybook Knobs Addon allows you to edit react props using the Storybook UI using variables inside stories in Storybook.
This is a wrapper for the addon @storybook/addon-knobs Refer to its documentation to understand how to use knobs
yarn add -D @storybook/addon-ondevice-knobs @storybook/addon-knobs @react-native-community/datetimepicker @react-native-community/slider
Add following content to .storybook/main.js
:
module.exports = {
addons: ['@storybook/addon-ondevice-knobs'],
};
Make sure to use the withKnobs decorator when using knobs import { withKnobs } from '@storybook/addon-ondevice-knobs';
FAQs
Display storybook story knobs on your deviced.
The npm package @storybook/addon-ondevice-knobs receives a total of 38,488 weekly downloads. As such, @storybook/addon-ondevice-knobs popularity was classified as popular.
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.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.