Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
@storybook/addon-ondevice-notes
Advanced tools
Write notes for your react-native Storybook stories.
The Notes Addon allows you to write notes (text or markdown) for your stories in Storybook.
yarn add -D @storybook/addon-ondevice-notes
Then, add following content to .storybook/main.ts
:
import { StorybookConfig } from '@storybook/react-native';
const main: StorybookConfig = {
addons: ['@storybook/addon-ondevice-notes'],
};
export default main;
Use the notes
parameter to add a note to stories:
import type { Meta } from '@storybook/react';
import { MyComponent } from './MyComponent';
const meta = {
title: 'My title',
component: MyComponent,
parameters: {
notes: `
# Here I can add some markdown
Put a full new line between each element.
`,
},
} satisfies Meta<typeof MyComponent>;
export default meta;
See the example app for more examples.
FAQs
Write notes for your react-native Storybook stories.
The npm package @storybook/addon-ondevice-notes receives a total of 25,592 weekly downloads. As such, @storybook/addon-ondevice-notes popularity was classified as popular.
We found that @storybook/addon-ondevice-notes 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.