storybook-addon-jsx

  • Version 7.3.14
  • Published
  • 179 kB
  • 4 dependencies
  • MIT license

Install

npm i storybook-addon-jsx
yarn add storybook-addon-jsx
pnpm add storybook-addon-jsx

Overview

Display the JSX of the story

Index

Variables

Functions

Type Aliases

Variables

variable _default

const _default: {
addWithJSX(
this: StoryApi<unknown>,
kind: string,
storyFn: StoryFn<any>
): StoryApi<unknown>;
};

    variable addDecorator

    const addDecorator: ClientStoryApi<any>;

      Functions

      function jsxDecorator

      jsxDecorator: (...args: any) => any;
      • Extract components from story and emit them to the panel

      Type Aliases

      type DecoratorFn

      type DecoratorFn = Parameters<typeof addDecorator>[0];

        Package Files (1)

        Dependencies (4)

        Dev Dependencies (38)

        Peer Dependencies (7)

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/storybook-addon-jsx.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/storybook-addon-jsx)
        • HTML
          <a href="https://www.jsdocs.io/package/storybook-addon-jsx"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>