Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@storybook/addon-ondevice-notes
Advanced tools
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 31,682 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 0 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.