storybook-addon-designs

  • Version 6.3.1
  • Published
  • 95.1 kB
  • 1 dependency
  • MIT license

Install

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

Overview

Storybook addon for embedding your design preview in addon panel

Index

Variables

Functions

Type Aliases

Variables

variable PanelName

const PanelName: string;

    variable PARAM_KEY

    const PARAM_KEY: string;

      Functions

      function config

      config: (
      c: Config | Config[]
      ) =>
      | import('./config').IFrameConfig
      | import('./config').FigmaConfig
      | import('./config').FigspecConfig
      | import('./config').ImageConfig
      | import('./config').LinkConfig
      | Config[];

        function withDesign

        withDesign: (...args: any) => any;

          Type Aliases

          type Config

          type Config = IFrameConfig | FigmaConfig | FigspecConfig | ImageConfig | LinkConfig;

            Package Files (3)

            Dependencies (1)

            Dev Dependencies (13)

            Peer Dependencies (0)

            No peer dependencies.

            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-designs.

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