Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@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 @react-native-community/datetimepicker @react-native-community/slider
Then, add following content to .storybook/main.ts
:
import { StorybookConfig } from '@storybook/react-native';
const main: StorybookConfig = {
addons: ['@storybook/addon-ondevice-controls'],
};
export default main;
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.
The npm package @storybook/addon-ondevice-controls receives a total of 89,712 weekly downloads. As such, @storybook/addon-ondevice-controls popularity was classified as popular.
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 26 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.