![Understanding the Security Concerns of npm Shrinkwrap](https://cdn.sanity.io/images/cgdhsj6q/production/37156cfb4523f411022d98b3b06138985ac81496-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Understanding the Security Concerns of npm Shrinkwrap
Explore the security risks of using npm shrinkwrap, the potential for outdated dependencies, and best practices for mitigating these concerns in your projects.
@storybook/addon-ondevice-controls
Advanced tools
Readme
Storybook Controls Addon for React Native allows editing a component's arguments dynamically via a graphical UI without needing to code. The Controls Addon replaces the old Knobs Addon.
Controls has some extra dependencies needed to display the form inputs.
yarn add -D @storybook/addon-ondevice-controls@next @storybook/addons @storybook/addon-controls @react-native-community/datetimepicker @react-native-community/slider
Then, add following content to .storybook/main.js
:
module.exports = {
addons: ['@storybook/addon-ondevice-controls'],
};
See the examples of using the Controls Addon with Component Story Format. You can also run the react-native app to see it in action.
The web Controls Addon documentation may also be useful, but the examples there have not been tested with Storybook for React Native.
See examples for migrating from Knobs to Controls in the web Controls Addon README.
FAQs
Display storybook controls on your device.
We found that @storybook/addon-ondevice-controls 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
Explore the security risks of using npm shrinkwrap, the potential for outdated dependencies, and best practices for mitigating these concerns in your projects.
Security News
Node.js is taking steps towards removing Corepack from its distribution, aiming for changes in the next major release.
Security News
OpenSSF has released a guide to help package repositories adopt Trusted Publishers, which enhances security by using short-lived identity tokens for authentication, reducing the risks associated with long-lived secrets.