@storybook/svelte

  • Version 6.4.22
  • Published
  • 39.9 kB
  • 13 dependencies
  • MIT license

Install

npm i @storybook/svelte
yarn add @storybook/svelte
pnpm add @storybook/svelte

Overview

Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.

Index

Variables

variable addDecorator

const addDecorator: (() => never) | ((decorator: any) => void);

    variable addParameters

    const addParameters:
    | (() => never)
    | (({ globals, globalTypes, ...parameters }: any) => void);

      variable forceReRender

      const forceReRender: (() => never) | (() => void);

        variable getStorybook

        const getStorybook:
        | (() => never)
        | (() => import('@storybook/client-api/dist/ts3.9/ClientApi').GetStorybookKind<
        import('./types').SvelteFramework
        >[]);

          variable raw

          const raw:
          | (() => never)
          | (() => import('@storybook/store').BoundStory<
          import('./types').SvelteFramework
          >[]);

            variable setAddon

            const setAddon: (() => never) | ((addon: any) => void);

              Functions

              function configure

              configure: (loadable: any, m: any) => void;

                function storiesOf

                storiesOf: (kind: string, m: any) => any;

                  Package Files (2)

                  Dependencies (13)

                  Dev Dependencies (3)

                  Peer Dependencies (3)

                  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/svelte.

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